Package Exports
- states-abbreviations
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (states-abbreviations) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
states-abbreviations
A dictionary of states by their abbreviations
setup
npm install --save states-abbreviations
usage
import stateAbbreviations from 'states-abbreviations';
const abbreviation = 'MA';
const name = stateAbbreviations[abbreviation];
console.log(name); // Massachusetts