@standardsets/countries
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-next.0 • Public • Published

Because it’s good to have, Standard Sets.


@standardsets/countries

Countries names, letter codes, and ccTLDs.




Utilities for querying Country names, and their equivalent variations/abbreviations.

Install

Via npm

npm install -S @standardsets/core @standardsets/countries

Via Yarn

yarn add @standardsets/core @standardsets/countries

Methods

  • getItemVariation - Allows for swapping one variation for another. (ex. countryNamethreeLetterCode | Costa RicaCRI)
  • getVariations - Listing of available variations for the current data set.
  • getVariationItems - Query data set and return the specified variation items. Defaults to countryName.

License

GPL-3.0 © Standard Sets

Readme

Keywords

none

Package Sidebar

Install

npm i @standardsets/countries

Weekly Downloads

0

Version

0.0.1-next.0

License

gpl-3.0

Unpacked Size

87.3 kB

Total Files

6

Last publish

Collaborators

  • ryanhefner