tobyab / numbers.tobyb.dev

πŸš‘ πŸš’ πŸš“ Your local emergency numbers, where ever you are in the world! ✨

Home Page:https://numbers.tobyb.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

screenshot of numbers.tobyb.dev in action

numbers.tobyb.dev πŸš‘ πŸš’ πŸš“

bored of constantly having to google and remember new emergency numbers every single time you visit a new country? well! this tiny utility is for you! ✨

how does it work?

using middleware, the website determines which country you're in. once it's done this, it'll then set a cookie called countryCode, which has the value of an iso 3166-1 alpha-2 code that belongs to the country you're currently located in!

after this, it then fetches the emergency numbers, and country name from the emergency number api, and displays this data to the user!

About

πŸš‘ πŸš’ πŸš“ Your local emergency numbers, where ever you are in the world! ✨

https://numbers.tobyb.dev


Languages

Language:TypeScript 95.2%Language:JavaScript 3.7%Language:CSS 1.1%