Displaying 1 to 1 from 1 results

in-eu - 🇪🇺 privacy first EU detection library for browsers


in-eu is a library for roughly detecting whether a website user is in the EU, without requiring a roundtrip to your server or a lookup against a GeoIP database. It uses the browser's timezone (via the brilliant jstz and locale (navigator.languages) to infer whether someone is in the EU. in-eu trades absolute accuracy for a cautious approach that's more lightweight and respectful of end-user privacy.