0.0.1-next.0 • Published 2 years ago

@standardsets/countries v0.0.1-next.0

Weekly downloads
-
License
gpl-3.0
Repository
github
Last release
2 years ago

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. countryName threeLetterCode | Costa Rica CRI)
  • 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

0.0.1-next.1

2 years ago

0.0.1-next.0

2 years ago