{"_id":"areacodes","_rev":"18-16931e7b72d4d924a4e18ceb24603a7d","name":"areacodes","description":"An area code lookup tool. Query by phone number, or just export the entire list in object form.","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"name":"areacodes","description":"An area code lookup tool. Area code data is a relatively small set of data, yet no one wants to maintain it. This library contains area code data that is queryable.","version":"0.0.1","author":{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},"repository":{"type":"git","url":"git@github.com:BlueRival/node-areacodes.git"},"dependencies":{"doublescore":"0.0.3"},"devDependencies":{"mocha":"2.0.1"},"keywords":["areacode"],"main":"lib/areacodes.js","engines":{"node":">=0.10.0"},"license":"MIT","gitHead":"b3897df311b9bf78830832a83f9e8a4265e103a2","bugs":{"url":"https://github.com/BlueRival/node-areacodes/issues"},"homepage":"https://github.com/BlueRival/node-areacodes","_id":"areacodes@0.0.1","scripts":{},"_shasum":"ac0d9b41db296e222aa23025cc6a0cddf43aa7a3","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"bluerival","email":"support@bluerival.com"},"maintainers":[{"name":"bluerival","email":"support@bluerival.com"}],"dist":{"shasum":"ac0d9b41db296e222aa23025cc6a0cddf43aa7a3","tarball":"https://registry.npmjs.org/areacodes/-/areacodes-0.0.1.tgz","integrity":"sha512-71AeDrbDIgIYcVeNJ2kg+MFaO8Z0t9hUz9P4+QzBgp0JcZvIqevaPWpOxpKmAhMKkrniEYWfQRkBjDwnTjEf4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMzfdqXARehhpFdiFfusioM/O+v7c+LAUTm8e0ckPr7AiBXD48Z34BoFUx2BOfhuvNEYamRLmZmcCtytAjQBJtt5w=="}]},"directories":{}},"0.0.2":{"name":"areacodes","description":"An area code lookup tool. Query by phone number, or just export the entire list in object form.","version":"0.0.2","author":{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},"repository":{"type":"git","url":"git@github.com:BlueRival/node-areacodes.git"},"dependencies":{"doublescore":"0.0.3"},"devDependencies":{"mocha":"2.0.1"},"keywords":["areacode"],"main":"lib/areacodes.js","engines":{"node":">=0.10.0"},"license":"MIT","gitHead":"b3897df311b9bf78830832a83f9e8a4265e103a2","bugs":{"url":"https://github.com/BlueRival/node-areacodes/issues"},"homepage":"https://github.com/BlueRival/node-areacodes","_id":"areacodes@0.0.2","scripts":{},"_shasum":"5399afe1e59521c1a6c5687543059170dfdcd85c","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"bluerival","email":"support@bluerival.com"},"maintainers":[{"name":"bluerival","email":"support@bluerival.com"}],"dist":{"shasum":"5399afe1e59521c1a6c5687543059170dfdcd85c","tarball":"https://registry.npmjs.org/areacodes/-/areacodes-0.0.2.tgz","integrity":"sha512-HJymx8d1HmD4Qbkr735ejihC9H4vsSeHkGP9VsJbQStIeWLWpTFyIQq8p7BYT8ITj889SQpzo/58x3a2Idz97Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEAUkpbKtz0khuvGq0bopVNPEoMaHIMH+qbVhffvBPIlAiAVx2rlta+DkMlRhVDvngRe3gLMnJnDAahbd6zgbcZndQ=="}]},"directories":{}},"0.0.3":{"name":"areacodes","description":"An area code lookup tool. Query by phone number, or just export the entire list in object form.","version":"0.0.3","author":{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},"repository":{"type":"git","url":"git@github.com:BlueRival/node-areacodes.git"},"dependencies":{"doublescore":"0.0.3"},"devDependencies":{"mocha":"2.0.1"},"keywords":["areacode"],"main":"lib/areacodes.js","engines":{"node":">=0.10.0"},"license":"MIT","gitHead":"b3897df311b9bf78830832a83f9e8a4265e103a2","bugs":{"url":"https://github.com/BlueRival/node-areacodes/issues"},"homepage":"https://github.com/BlueRival/node-areacodes","_id":"areacodes@0.0.3","scripts":{},"_shasum":"7870f9faca2bb5f140dc4b426379b653a984d36f","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"bluerival","email":"support@bluerival.com"},"maintainers":[{"name":"bluerival","email":"support@bluerival.com"}],"dist":{"shasum":"7870f9faca2bb5f140dc4b426379b653a984d36f","tarball":"https://registry.npmjs.org/areacodes/-/areacodes-0.0.3.tgz","integrity":"sha512-z74H1xSP3lTjVqBJPfGAPYSzl1tKvyNX4Q49jheHhFcGAUsfJSrVesd5ZpEHk4X81WXEqMnt84Z10sc2z2wIAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKxIwMU8/ruNesCIpN1hE9bKI+kIO1WDLVTNA31hDeeAiANVkSj9IjL5fTziSzaLuoKaWUqQKAplY2YKWW4lV33rg=="}]},"directories":{}},"0.1.0":{"name":"areacodes","description":"An area code lookup tool. Query by phone number, or just export the entire list in object form.","version":"0.1.0","author":{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},"contributors":[{"name":"Andy Coenen","email":"andrew.coenen@gmail.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/BlueRival/node-areacodes.git"},"dependencies":{"doublescore":"0.0.3"},"devDependencies":{"mocha":"2.0.1"},"keywords":["areacode"],"main":"lib/areacodes.js","engines":{"node":">=0.10.0"},"license":"MIT","gitHead":"2de9dcb585ef0442476b1a83c4a48d343b1220ef","bugs":{"url":"https://github.com/BlueRival/node-areacodes/issues"},"homepage":"https://github.com/BlueRival/node-areacodes#readme","_id":"areacodes@0.1.0","scripts":{},"_shasum":"6b6f534ba20ed6ca2f23b64eb1ecdc1f391e1520","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.4","_npmUser":{"name":"bluerival","email":"support@bluerival.com"},"maintainers":[{"name":"bluerival","email":"support@bluerival.com"}],"dist":{"shasum":"6b6f534ba20ed6ca2f23b64eb1ecdc1f391e1520","tarball":"https://registry.npmjs.org/areacodes/-/areacodes-0.1.0.tgz","integrity":"sha512-XuqjXC7wBRzIgyHsyeSqQstEESv8c72XK3NrMfNcLv+ZLaB8IAviWslREVrVLrwLpe22ZsCprhzXorh8P5NjCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICtgx+cIq+x+EYjsIK4UmahIit80vcXP4cdsazs2REVeAiEA08tnxe2M8YgHmHrsMSgI5LSWyZBviNxht1f5Q/14BoA="}]},"directories":{}},"0.1.1":{"name":"areacodes","description":"An area code lookup tool. Query by phone number, or just export the entire list in object form.","version":"0.1.1","author":{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},"contributors":[{"name":"Andy Coenen","email":"andrew.coenen@gmail.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/BlueRival/node-areacodes.git"},"dependencies":{"doublescore":"0.0.3"},"devDependencies":{"mocha":"2.0.1"},"keywords":["areacode"],"main":"lib/areacodes.js","engines":{"node":">=0.10.0"},"license":"MIT","gitHead":"eba0dff531084e170ceeca3eb1f1667c939cbded","bugs":{"url":"https://github.com/BlueRival/node-areacodes/issues"},"homepage":"https://github.com/BlueRival/node-areacodes#readme","_id":"areacodes@0.1.1","scripts":{},"_shasum":"fb41ad49681d8cd39993d552441c20887d0bb60b","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.4","_npmUser":{"name":"bluerival","email":"support@bluerival.com"},"maintainers":[{"name":"bluerival","email":"support@bluerival.com"}],"dist":{"shasum":"fb41ad49681d8cd39993d552441c20887d0bb60b","tarball":"https://registry.npmjs.org/areacodes/-/areacodes-0.1.1.tgz","integrity":"sha512-iFgs7l3QxWbJHJtQjDJxlvDIo7VvORnXofXGoiAaSIxaZGNG9uDqp3/JIquya3n6tsyvKD33KxkpCPJcEBliUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+LwGh+IsETzCOhfnrZ5iKrRpZWqz7qn/E8VHNgcbPVAiBz/AMHJMW5/3ahOSZ2qVYJJasOD18ohbkamHP4LhaEDA=="}]},"directories":{}},"0.1.2":{"name":"areacodes","description":"An area code lookup tool. Query by phone number, or just export the entire list in object form.","version":"0.1.2","author":{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},"contributors":[{"name":"Andy Coenen","email":"andrew.coenen@gmail.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/BlueRival/node-areacodes.git"},"dependencies":{"doublescore":"0.0.3"},"devDependencies":{"mocha":"2.0.1"},"keywords":["areacode"],"main":"lib/areacodes.js","engines":{"node":">=0.10.0"},"license":"MIT","gitHead":"d2865b97a105dce4be1ee83966c9b227b91078cb","bugs":{"url":"https://github.com/BlueRival/node-areacodes/issues"},"homepage":"https://github.com/BlueRival/node-areacodes#readme","_id":"areacodes@0.1.2","scripts":{},"_shasum":"9e95baad581380120814bcb10b2f481c55d29f5e","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.4","_npmUser":{"name":"bluerival","email":"support@bluerival.com"},"maintainers":[{"name":"bluerival","email":"support@bluerival.com"}],"dist":{"shasum":"9e95baad581380120814bcb10b2f481c55d29f5e","tarball":"https://registry.npmjs.org/areacodes/-/areacodes-0.1.2.tgz","integrity":"sha512-fIoEQhyAYHwb0ig1QcwAAoLwiZbB6numnbVYy+OkiR7lqe0+tjsmuAa507PoE8ZnyBDKZUE2oClEPYc4bLtzXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHfkvquOjfqmKn6T6WBGc/tikQMaL9pvHcZimFM4/YudAiA0ZYJOnqOJIRM7M7Kfu4bpokn5RVuVdjyyHlBZvqBtUQ=="}]},"directories":{}},"0.2.0":{"name":"areacodes","description":"An area code lookup tool. Query by phone number, or just export the entire list in object form.","version":"0.2.0","author":{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},"contributors":[{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},{"name":"Andy Coenen","email":"andrew.coenen@gmail.com"},{"name":"Seth Rogers","email":"sethhrogers@gmail.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/BlueRival/node-areacodes.git"},"dependencies":{"doublescore":"0.3.7"},"devDependencies":{"@turf/turf":"^5.1.6","async":"2.6.2","cheerio":"^1.0.0-rc.2","csv-parser":"2.1.0","mocha":"6.0.0","request":"2.88.0","shapefile":"0.6.6"},"keywords":["areacode","gps","geocoding","city","state"],"main":"lib/areacodes.js","engines":{"node":">=6.0.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha --reporter=landing --exit --bail"},"license":"MIT","gitHead":"4d5ab1b8f78a33812297e68cc643c5d01058921c","bugs":{"url":"https://github.com/BlueRival/node-areacodes/issues"},"homepage":"https://github.com/BlueRival/node-areacodes#readme","_id":"areacodes@0.2.0","_nodeVersion":"10.15.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-MZBR3K17fmuAz2beVXht+qfXgunXrCbzrP814uK+AvJmt36fXlycqeR6O2dzTXKNRIfmdLsxmHveH1jTqdM+dg==","shasum":"4f2a9fb34d1fa05e3b871d2c29e33fc5eae6d546","tarball":"https://registry.npmjs.org/areacodes/-/areacodes-0.2.0.tgz","fileCount":9,"unpackedSize":452288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbSyTCRA9TVsSAnZWagAAr6kP/iKmNhu/HXd9mn09hRcO\nsglOnZvoqOxzj6KzP0msLLfJPdQvGb5V3HotPfmRMaaH+4f0xSWotPIAQgct\nJINlU8uLuwJWvHbOPEYnXOZ98qMH3GQ/YC0SwB/7Jv4IdOobOK6amVczrQy8\nvMVqiQBRZQQz5mItfiHc9/Gi435/Szrnn9XKFEXUCC/iImGcm4KCBr8/T0Po\ndw3HIozxr6B1Wx1W12tJDB17iJh+zzz78LuyvIlP20gmlbC5icUjaJcCJObS\nr4Xe82XT921UoOmy7Nd2BIb081xpFa04RmzWgXA8HiEltCRUdn5hUD9/Jqsc\nP0kUG/zxmy5gKfmAvxHpvqsSpmDonoj6Txb6mp9xGQSyKik8YhhclYe8OyJD\nYjaDeckR81NI0GppMcWynpdhrjZEHiOWOFJW9X6aU14CQEgoEirDbI58CPhe\n25VE4+3E29sl0atpbXOT4tGcgItJ7axJxy3+WThke1RHUjbCCFJe1KBdaVk+\npKSt+RFu+UwsnMalt3WCPOQ1PTM20EjsX7ffQ5LzFSyeuonGFMcq42hQn3gj\npUiKxqPQGX0hmY8aRDcIQV8XheZC7WcHkiQzA01fnjDhGbMVIVAJxvMeVkTo\nj2w0d9gKS2nCC9bISRZ5ddjj3TBf8AgYR7YmWPd4XuiXjRQ7epdPISE9+KPa\nui/B\r\n=3usz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDOVl2evL3h46bEucfRLp2Nr0QzKisPqUDuMZ1I8jgNAAiEAs/flovpdjOh9uuNe24AyxWruA4qCYpoQupMBM/glCM8="}]},"maintainers":[{"email":"anthony@bluerival.com","name":"ahildoer"},{"email":"support@bluerival.com","name":"ahildoer-bluerival"}],"_npmUser":{"name":"ahildoer","email":"anthony@bluerival.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/areacodes_0.2.0_1550658706828_0.7361181841387878"},"_hasShrinkwrap":false},"0.2.1":{"name":"areacodes","description":"An area code lookup tool. Query by phone number, or just export the entire list in object form.","version":"0.2.1","author":{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},"contributors":[{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},{"name":"Andy Coenen","email":"andrew.coenen@gmail.com"},{"name":"Seth Rogers","email":"sethhrogers@gmail.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/BlueRival/node-areacodes.git"},"dependencies":{"doublescore":"0.3.7"},"devDependencies":{"@turf/turf":"^5.1.6","async":"2.6.2","cheerio":"^1.0.0-rc.2","csv-parser":"2.1.0","mocha":"6.0.0","request":"2.88.0","shapefile":"0.6.6"},"keywords":["areacode","gps","geocoding","city","state"],"main":"lib/areacodes.js","engines":{"node":">=6.0.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha --reporter=landing --exit --bail"},"license":"MIT","gitHead":"298ce22cdb76b0a85ad09665d7c4bbe8c15ebb19","bugs":{"url":"https://github.com/BlueRival/node-areacodes/issues"},"homepage":"https://github.com/BlueRival/node-areacodes#readme","_id":"areacodes@0.2.1","_nodeVersion":"10.15.1","_npmVersion":"6.8.0","dist":{"integrity":"sha512-5r4p9F8n4KACsU8jlRnMv0SZZGevB+AuQU/XcIQcE5mnbBZH90+nEFdE1r6E4ECrgEfX+4vYvny6y0fcSE/6Sw==","shasum":"bd282c97252b7d07e4706ec491f391c900728eed","tarball":"https://registry.npmjs.org/areacodes/-/areacodes-0.2.1.tgz","fileCount":9,"unpackedSize":452310,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbS6SCRA9TVsSAnZWagAAnzAP/iMX52cLMj4zc/1JXzZp\nNbP+Rfu3KVP+zE/0jb/Bew8kd4NnWHf/5SdKMKv9biWh0hIQz0LXqaC/2v+y\nPIrlvdcJJGaDGjcVgJV39IalZg4sUTL5ed5BSixx1v72dlgOPcqWDFBHQtml\nhqTNpcjksBB3B2oWIgH5v3PA6C8+GPqK+oUMlUCSc6YwTWmC0ageuqhnz5EM\n3CK97vTI+vwJDb/nmo6Tdj5o4Sg9aUM7j4eP7eO8xW+Tf+/bucI3jL9mciZY\nf91D4s/7HSehIjEEI6GNTR+RFdVj4LCi3rVGS6HsJF5DnIjr2DtHJbBVt+Xe\nfmLR72KIR2/7llQBTw5DHqPRamgciG7mi9mEmKiO0hrMcjrzTs1V+kRxvc9T\nzkQsHUDus8ymD/chhVNPxt4CDHm/TWiVEAh5VcpO35ZY3jaPxrbSVriZT2lq\nGy+CFDUFPcASLtFdJU22O2RiQ1GlkrrGpo/qqurTXohXKa2s3aXajaNjblAp\nDL+x7X+pfMS7TRaWrrF2xYB9V7d4AyGqrSkGpsk39AsS1U7Jk+nu/OLPnhfg\nXLYqaUvpLewaSvFXXqbx5pVQ96fevNNyNQzZ6UnseTnJq1UgbhoDan2O+mWe\nNa0jgioGqXsWtgJmFxMQK40PbXZB2iy0Zq9tQbYHGdl5XRkC20lenfVB5H5b\nrjnw\r\n=GzAZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE73oQS+F9JbZi02ON+D4eOFiD5MhsLEc3K/9fRHi5NmAiAfWuQBDoll+EMHfPsAWrNJIPDL3WI4HngmY1ma3Atn5A=="}]},"maintainers":[{"email":"anthony@bluerival.com","name":"ahildoer"},{"email":"support@bluerival.com","name":"ahildoer-bluerival"}],"_npmUser":{"name":"ahildoer","email":"anthony@bluerival.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/areacodes_0.2.1_1550659218038_0.4119303787747828"},"_hasShrinkwrap":false}},"readme":"Area Codes\n========\n\nGet the city, state and GPS coordinates of all (as far as we know) U.S. area codes and North American Toll-Free Numbers. Look them up one phone number at a time, or dump the entire DB object.\n\nArea code data is relatively small, so this library stores the data internally, and loads it into memory. No web service calls or anything like that. It's fast baby.\n\nMemory impact should be < 100KB.\n\n### A Note on Accuracy\n\nArea codes are not geographically precise things. Technically some spam country borders, let alone stick to a single \ncity, or even U.S. State. Therefore it is best to treat all the geographic data as good to within +/- 200 miles. \n\n\nData Source\n========\n\nRaw list of Area Codes and associated U.S. States pulled from https://www.nationalnanpa.com/nanp1/npa_report.csv. Some not-yet published area codes where identified via https://areacode.org, such a area codes slated for future use, but not yet assigned.\n\nCity names added from https://nationalnanpa.com/enas/displayNpaCityReport.do by selecting the city at the top of the list of cities serviced by the area code.\n\nShape data for GPS information provided by https://www.sciencebase.gov/catalog/item/4f4e4a19e4b07f02db605716. Area code GPS point is calculated using the Centroid of all polygon coordinates for the area code coverage area.\n\nAny missing City, State and/or GPS information is back-filled using https://nominatim.openstreetmap.org, using City, State to back-fill missing GPS, or by using GPS to back-fill City, State.\n\nUsage\n========\n\nPull by phone number (include country code or not, but only 1, United States, is supported). Also, many phone number formats\nare supported:\n\n```txt\n+1-###-###-####\n1-###-###-####\n###-###-####\n+1 (###) ###-####\n1 (###) ###-####\n(###) ###-####\n+1.###.###.####\n1.###.###.####\n###.###.####\n+1##########\n1##########\n##########\netc.\n```\n\nBasically, if there are 10-11 digits (first digit being 1 if 11) in the format, it should parse fine.\n\n```javascript\nlet AreaCodes = require( 'areacodes' );\n\nlet areaCodes = new AreaCodes();\n\nareaCodes.get( '+1-303-123-4567', function( err, data ) {\n\tconsole.error( 'city/state/GPS', data );\n} );\n\n/** output:\n{\n  \"type\": \"local\", \n  \"city\": \"Aurora\",\n  \"state\": \"Colorado\",\n  \"stateCode\": \"CO\",\n  \"location\": {\n    \"latitude\": 39.729431,\n    \"longitude\": -104.831919\n  }\n}\n*/\n\n```\n\nGet entire DB:\n\n```\nlet AreaCodes = require( 'areacodes' );\n\nlet areaCodes = new AreaCodes();\n\nareaCodes.getAll( function( err, data ) {\n\tconsole.error( 'all area codes', data );\n} );\n```\n\nContribute\n========\n\nIf you want to help contribute to the library, this is how development goes. In all cases, make sure that you only add\nnew test cases to the test suite in the test directory. The only time we should consider deleting/editing old test cases\nis if we are doing a non-backward compatible change. \n\nMake sure your pull-requests go to the develop branch only. \n\n## To Update Data\n\nIf you want to help update data, look at the update.js file. This is how we currently pull down data from all the data\nsources and mash it into lib/data.json. Notice that we merge new data in, and don't delete old data. This is because there\nis no expectation that existing area code data will change much. Even if an existing area code is expanded to cover new\ngeographic regions, we are OK with the GPS coordinates remaining approximate, to within +/- 200 miles. To run the update\nmethod as is, simply execute:\n\n```node update.js```\n\nIf new data is found, the lib/data.json file will be updated. Although update.js does some validation, you must also run\nthe full test suite before committing the new data file. Do so like this:\n\n```npm test```\n\nAll tests passed? Great, issue your pull request.\n\nIf you update the data sources themselves, or anything else in update.js, or lib/reference.js, you should still run both\nthe `node update.js` and the `npm test` commands to verify that everything works end-to-end.\n\n## Just editing lib/areacode.js\n\nIf you are just changing the code for how the in-memory database is loaded and accessed, you are only going to need to \nedit the lib/areacode.js file. And, you will only need to run `npm test` to verify your changes. \n\n\nLicense\n========\n\n(The MIT License)\n\nCopyright (c) 2019 BlueRival Software <support@bluerival.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"email":"anthony@bluerival.com","name":"ahildoer"},{"email":"support@bluerival.com","name":"ahildoer-bluerival"}],"time":{"modified":"2022-06-13T03:25:51.080Z","created":"2014-11-12T22:25:46.444Z","0.0.1":"2014-11-12T22:25:46.444Z","0.0.2":"2014-11-12T22:28:23.709Z","0.0.3":"2014-11-12T22:36:16.407Z","0.1.0":"2015-07-24T23:07:03.614Z","0.1.1":"2015-07-24T23:15:46.077Z","0.1.2":"2015-07-25T13:34:09.120Z","0.2.0":"2019-02-20T10:31:47.016Z","0.2.1":"2019-02-20T10:40:18.185Z"},"homepage":"https://github.com/BlueRival/node-areacodes#readme","keywords":["areacode","gps","geocoding","city","state"],"repository":{"type":"git","url":"git+ssh://git@github.com/BlueRival/node-areacodes.git"},"author":{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},"bugs":{"url":"https://github.com/BlueRival/node-areacodes/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[{"name":"Anthony Hildoer","email":"anthony@bluerival.com"},{"name":"Andy Coenen","email":"andrew.coenen@gmail.com"},{"name":"Seth Rogers","email":"sethhrogers@gmail.com"}]}