0.0.1-next.0 • Published 2 years ago
@standardsets/countries v0.0.1-next.0
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 tocountryName
.
License
0.0.1-next.1
2 years ago
0.0.1-next.0
2 years ago