Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 799 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 799 Bytes

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