madison
A dirt simple Node.js module for working with US state names and abbreviations.
Usage
const madison = ; // Get a state's abbreviationconsole; // 'VA'console; // 'VA'console; // undefined // Get a state's nameconsole; // 'Virginia'console; // 'Virginia'console; // undefined // Get a JSON array of US states, each containing 'name' and 'abbr' properties:madisonstates;