country_meta
A small package to get timezones of a country, country from a timezone & currencies from a country
Setup
Make sure to install the dependencies:
yarn install
npm install
pnpm install --shamefully-hoist
usage
countryFromTimezone
const country = countryFromTimezone("Europe/Tirane")
timezonesFromCountry
timezonesFromCountry('AL')
timezonesFromCountry('Albanien')
timezonesFromCountry('Albania')
timezonesFromCountry('Shqipëria')
currencyFromCountry
currencyFromCountry("AF")
currencyFromCountry("Afghanistan")
currencyFromCountry("Afghanistan")
currencyFromCountry("افغانستان")