{"analyzedAt":"2022-06-29T17:35:11.068Z","collected":{"metadata":{"name":"zipcodes-perogi","scope":"unscoped","version":"1.4.201908","description":"A zipcode lookup package with the latest zipcode information updated every month.","keywords":["zipcode","US","USPS","perogi"],"date":"2019-08-14T13:37:41.006Z","author":{"name":"S Perreault","email":"github@perogi.org"},"publisher":{"username":"perogi","email":"github@perogi.org"},"maintainers":[{"username":"perogi","email":"node@perogi.org"}],"repository":{"type":"git","url":"git+https://github.com/perogi/zipcodes-perogi.git"},"links":{"npm":"https://www.npmjs.com/package/zipcodes-perogi","homepage":"https://github.com/perogi/zipcodes-perogi#readme","repository":"https://github.com/perogi/zipcodes-perogi","bugs":"https://github.com/perogi/zipcodes-perogi/issues"},"license":"MIT","dependencies":{"moment-timezone":"^0.5.21","nyc":"^14.1.0"},"devDependencies":{"@stryker-mutator/api":"^1.2.0","@stryker-mutator/core":"^1.3.1","@stryker-mutator/javascript-mutator":"^1.2.0","@stryker-mutator/mocha-runner":"^1.2.0","chai":"^4.1.2","istanbul":"~0.4.5","mocha":"^5.2.0","node-google-timezone":"^0.1.1"},"releases":[{"from":"2022-05-30T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2022-03-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2021-12-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2021-06-29T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2020-06-29T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0}],"hasTestScript":true,"readme":"#Zip Code Lookup\r\n[![Build Status](https://travis-ci.org/perogi/zipcodes-perogi.svg?branch=master)](https://travis-ci.org/perogi/zipcodes-perogi)\r\n\r\nA localized (flatfile) zipcode lookup.\r\n\r\nZipcode data is taken from a new more up-to-date zipcode source compared to [davglass'](https://github.com/davglass/zipcodes) project. \r\nThis source has monthly updates for zip code data. For example: June 2019 data added 2 zip codes.\r\n\r\n## Other Differences\r\nThis application only has the default zip code information and only for the 50 US states and Washington, DC.  \r\n\r\n## Last Change Log\r\nVersion 1.3.201908\r\n1 change from July 2019 - Removal of one zipcode\r\nnpm audit: found 0 vulnerabilities \r\nStryker mutation tests.  Passed 100.0  0 Survived\r\n\r\n## Usage\r\n    var zipcodes = require('zipcodes-perogi');\r\n\r\n## Zipcode Lookup\r\n    const hills = zipcodes.lookup(90210);  \r\n      \r\n    response:\r\n    {\r\n      \"zip\": \"90210\",\r\n      \"city\": \"Beverly Hills\",\r\n      \"state\": \"CA\",\r\n      \"latitude\": \"34.096629\",\r\n      \"longitude\": \"-118.412426\",\r\n      \"timeZoneId\": \"America/Los_Angeles\"\r\n    }\r\n\r\n## Zipcode LookupWithTime\r\n    const hills = zipcodes.lookupWithTime(03301);  \r\n      \r\n    response:\r\n    {\r\n      \"zip\": \"03301\",\r\n      \"city\": \"Concord\",\r\n      \"state\": \"NH\",\r\n      \"latitude\": \"43.23876\",\r\n      \"longitude\": \"-71.511\",\r\n      \"timeZoneId\": \"America/New_York\",\r\n      \"time\": \"2019-05-03T22:15:05-04:00\"\r\n    }\r\n\r\n## Lookup By Name\r\n    const l = zipcodes.lookupByName('Concord', 'NH');  \r\n      \r\n    //Always returns an array, since cities can have multiple zip codes\r\n    response: \r\n    [ \r\n        {\r\n          \"zip\": \"03301\",\r\n          \"city\": \"Concord\",\r\n          \"state\": \"NH\",\r\n          \"latitude\": \"43.23876\",\r\n          \"longitude\": \"-71.511\",\r\n          \"timeZoneId\": \"America/New_York\"\r\n        },\r\n        {\r\n          \"zip\": \"03302\",\r\n          \"city\": \"Concord\",\r\n          \"state\": \"NH\",\r\n          \"latitude\": \"43.23387\",\r\n          \"longitude\": \"-71.55967\",\r\n          \"timeZoneId\": \"America/New_York\"\r\n        },\r\n        {\r\n          \"zip\": \"03303\",\r\n          \"city\": \"Concord\",\r\n          \"state\": \"NH\",\r\n          \"latitude\": \"43.30368\",\r\n          \"longitude\": \"-71.6385\",\r\n          \"timeZoneId\": \"America/New_York\"\r\n        },\r\n        {\r\n          \"zip\": \"03305\",\r\n          \"city\": \"Concord\",\r\n          \"state\": \"NH\",\r\n          \"latitude\": \"43.206116\",\r\n          \"longitude\": \"-71.539058\",\r\n          \"timeZoneId\": \"America/New_York\"\r\n        }\r\n     ]\r\n     \r\n## Lookup By State\r\n    const l = zipcodes.lookupByState('NH');\r\n      \r\n    //response would be an array of cities with corresponding data\r\n    [ \r\n        {\r\n          \"zip\": \"03031\",\r\n          \"city\": \"Amherst\",\r\n          \"state\": \"NH\",\r\n          \"latitude\": \"42.860306\",\r\n          \"longitude\": \"-71.608545\",\r\n          \"timeZoneId\": \"America/New_York\"\r\n        },\r\n        {\r\n          \"zip\": \"03032\",\r\n          \"city\": \"Auburn\",\r\n          \"state\": \"NH\",\r\n          \"latitude\": \"42.997422\",\r\n          \"longitude\": \"-71.35159\",\r\n          \"timeZoneId\": \"America/New_York\"\r\n        },\r\n        {\r\n          \"zip\": \"03033\",\r\n          \"city\": \"Brookline\",\r\n          \"state\": \"NH\",\r\n          \"latitude\": \"42.739053\",\r\n          \"longitude\": \"-71.677821\",\r\n          \"timeZoneId\": \"America/New_York\"\r\n        }\r\n     ...\r\n     ]\r\n\r\n\r\nThe original CSV file that I am using for this data is not included in this repo due to licensing, but I did wrap up\r\nthe best way to get the data and how to convert it into the format that this module uses.\r\n\r\nNote: This is a fork of [davglass' excellent zipcode lookup project](https://github.com/davglass/zipcodes).\r\n\r\n## Historical Change Log\r\nSee CHANGE_LOG.md file"},"npm":{"downloads":[{"from":"2022-06-28T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":8},{"from":"2022-06-22T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":60},{"from":"2022-05-30T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":311},{"from":"2022-03-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":996},{"from":"2021-12-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":1681},{"from":"2021-06-29T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":4340}],"starsCount":1},"github":{"homepage":"https://www.npmjs.com/package/zipcodes-perogi","starsCount":1,"forksCount":3,"subscribersCount":2,"issues":{"count":62,"openCount":10,"distribution":{"3600":47,"10800":1,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":1,"23619600":4,"70858800":8,"212576400":1},"isDisabled":false},"contributors":[{"username":"perogi","commitsCount":25},{"username":"sergei202","commitsCount":1},{"username":"davglass","commitsCount":20},{"username":"jdforsythe","commitsCount":1},{"username":"westy92","commitsCount":4},{"username":"parisholley","commitsCount":1}],"commits":[{"from":"2022-06-22T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2022-05-30T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2022-03-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2021-12-31T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0},{"from":"2021-06-29T00:00:00.000Z","to":"2022-06-29T00:00:00.000Z","count":0}],"statuses":[{"context":"continuous-integration/travis-ci/pr","state":"success"},{"context":"continuous-integration/travis-ci/push","state":"success"}]},"source":{"files":{"readmeSize":3599,"testsSize":3951,"hasChangelog":true},"badges":[{"urls":{"original":"https://travis-ci.org/perogi/zipcodes-perogi.svg?branch=master","service":"https://api.travis-ci.org/perogi/zipcodes-perogi.svg?branch=master","shields":"https://img.shields.io/travis/perogi/zipcodes-perogi/master.svg","content":"https://img.shields.io/travis/perogi/zipcodes-perogi/master.json"},"info":{"service":"travis","type":"build","modifiers":{"branch":"master"}}}],"outdatedDependencies":{"nyc":{"required":"^14.1.0","stable":"15.1.0","latest":"15.1.0"}}}},"evaluation":{"quality":{"carefulness":0.7899999999999999,"tests":0.85,"health":0.75,"branding":0.15},"popularity":{"communityInterest":13,"downloadsCount":332,"downloadsAcceleration":-1.0188165905631656,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":1,"issuesDistribution":0.9}},"score":{"final":0.6473678413626491,"detail":{"quality":0.9313544161577716,"popularity":0.05141223530767833,"maintenance":0.9999063833075152}}}