us-area-codes
v1.0.0
Published
US Area Codes
Downloads
319
Readme
us-area-codes
Area Codes for USA, Canada, and surrounding territories.
Install
$ npm install --save us-area-codes
Usage
const usAreaCodes = require('us-area-codes');
usAreaCodes.get(210);
//=> Texas
API
usAreaCodes(input)
input
Type: number
Returns the corresponding state or territory.
CLI
$ npm install --global us-area-codes
$ us-area-codes --help
Usage
us-area-codes [input]
Examples
$ us-area-codes 210
Texas
License
MIT © Mike McBride