Skip to content

tselect-npm/countries

Repository files navigation

Countries

npm npm npm

Countries related, enums and data, such as currencies and languages.

Installation

npm i @tselect/countries

Basic usage

import { CountryCode, Countries, CurrencyCode, ISO6391LanguageCode } from '@tselect/countries';

CountryCode.US; // US
CurrencyCode.USD; // USD
ISO6391LanguageCode.ENG; // EN

Countries.get(CountryCode.AC).getMainCurrency().getDecimals(); // 2

About

Country related enums and data

Resources

License

Stars

Watchers

Forks

Packages

No packages published