@standardsets/locales
v0.0.1-next.0
Published
Utilities for querying Locales data, and their equivalent variations/abbreviations.
Downloads
1
Readme
Utilities for querying Locales, and their equivalent variations.
Install
Via npm
npm install -S @standardsets/core @standardsets/locales
Via Yarn
yarn add @standardsets/core @standardsets/locales
Methods
getItemVariation
- Allows for swapping one variation for another. (ex.name
→threeLetterCode
|Maori
→mri
)getVariations
- Listing of available variations for the current data set.getVariationItems
- Query data set and return the specified variation items. Defaults toname
.