{"analyzedAt":"2022-06-24T23:59:14.452Z","collected":{"metadata":{"name":"zipcodes-ph","scope":"unscoped","version":"1.1.2","description":"Philippines zip code directory","keywords":["philippines","zipcodes"],"date":"2017-10-31T18:19:31.892Z","author":{"name":"Arnelle Balane","email":"arnellebalane@gmail.com","url":"https://arnellebalane.com/","username":"arnellebalane"},"publisher":{"username":"arnellebalane","email":"arnellebalane@gmail.com"},"maintainers":[{"username":"arnellebalane","email":"arnellebalane@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/arnellebalane/zipcodes-ph.git"},"links":{"npm":"https://www.npmjs.com/package/zipcodes-ph","homepage":"https://github.com/arnellebalane/zipcodes-ph#readme","repository":"https://github.com/arnellebalane/zipcodes-ph","bugs":"https://github.com/arnellebalane/zipcodes-ph/issues"},"license":"MIT","devDependencies":{"babel-cli":"6.26.0","babel-loader":"7.1.2","babel-preset-es2015":"6.24.1","babel-register":"6.26.0","codecov.io":"0.1.6","commitizen":"2.9.6","cz-conventional-changelog":"2.1.0","ghooks":"2.0.0","istanbul":"0.4.5","json-loader":"0.5.7","mocha":"4.0.1","npm-run-all":"4.1.1","nyc":"11.2.1","rimraf":"2.6.2","semantic-release":"^8.2.0","webpack":"3.8.1"},"releases":[{"from":"2022-05-25T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":1},{"from":"2022-03-26T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":1},{"from":"2021-12-26T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":1},{"from":"2021-06-24T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":1},{"from":"2020-06-24T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":1}],"hasTestScript":true,"hasSelectiveFiles":true,"readme":"# zipcodes-ph\n\n[![Travis](https://img.shields.io/travis/arnellebalane/zipcodes-ph.svg)]([![Travis](https://img.shields.io/travis/rust-lang/rust.svg)](https://github.com/arnellebalane/zipcodes-ph))\n[![Codecov](https://img.shields.io/codecov/c/github/arnellebalane/zipcodes-ph.svg)](https://github.com/arnellebalane/zipcodes-ph)\n[![version](https://img.shields.io/npm/v/zipcodes-ph.svg)](https://github.com/arnellebalane/zipcodes-ph)\n[![downloads](https://img.shields.io/npm/dw/zipcodes-ph.svg)](https://github.com/arnellebalane/zipcodes-ph)\n[![license](https://img.shields.io/npm/l/zipcodes-ph.svg)](https://github.com/arnellebalane/zipcodes-ph)\n\nPhilippines zip code directory.\n\n## Installation\n\nInstall via npm:\n\n```bash\n$ npm install --save zipcodes-ph\n```\n\nBrowser builds are also available inside the `build` directory or in [unpkg.com](https://unpkg.com/zipcodes-ph@1.1.2/build/index.umd.js).\n\n## Usage\n\nNodeJS:\n\n```js\nconst zipcodes = require('zipcodes-ph');\n\nzipcodes.find(6000); // 'Cebu City'\nzipcodes.reverse('Cebu City'); // 6000\n```\n\nBrowser:\n\n```html\n<script src=\"path/to/zipcodes-ph/build/index.umd.min.js\"></script>\n```\n\n```js\n// global variable `zipcodesPH` is exposed\n\nzipcodesPH.find(6000); // 'Cebu City'\nzipcodesPH.reverse('Cebu City'); // 6000\n```\n\n## API\n\n- **`find(zipcode)`**\n  - `zipcode` _(Number|String)_: The zip code that will be resolved into a location name.\n  - possible return values:\n    - _String_ if one location with the zip code is found.\n    - _Array_ if multiple locaitons with the zip code are found.\n    - _null_ if no locations with the zip code are found.\n\n- **`reverse(location)`**\n  - `location` _(String)_: The name of the location that will be resolved into a zip code.\n  - possible return values:\n    - _Number_ if zip code for the location is found.\n    - _null_ if zip code for the location is not found.\n\n\n## License\n\nMIT License"},"npm":{"downloads":[{"from":"2022-06-23T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":1},{"from":"2022-06-17T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":9},{"from":"2022-05-25T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":46},{"from":"2022-03-26T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":138},{"from":"2021-12-26T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":289},{"from":"2021-06-24T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":517}],"starsCount":0},"github":{"starsCount":6,"forksCount":4,"subscribersCount":1,"issues":{"count":1,"openCount":1,"distribution":{"3600":0,"10800":0,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":0,"23619600":0,"70858800":1,"212576400":0},"isDisabled":false},"contributors":[{"username":"arnellebalane","commitsCount":30}],"commits":[{"from":"2022-06-17T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":0},{"from":"2022-05-25T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":0},{"from":"2022-03-26T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":0},{"from":"2021-12-26T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":0},{"from":"2021-06-24T00:00:00.000Z","to":"2022-06-24T00:00:00.000Z","count":0}],"statuses":[{"context":"continuous-integration/travis-ci/push","state":"success"}]},"source":{"files":{"readmeSize":1882,"testsSize":1737},"badges":[{"urls":{"original":"https://img.shields.io/travis/arnellebalane/zipcodes-ph.svg","service":"https://api.travis-ci.org/arnellebalane/zipcodes-ph.svg","shields":"https://img.shields.io/travis/arnellebalane/zipcodes-ph.svg","content":"https://img.shields.io/travis/arnellebalane/zipcodes-ph.json"},"info":{"service":"travis","type":"build"}},{"urls":{"original":"https://img.shields.io/codecov/c/github/arnellebalane/zipcodes-ph.svg","service":"https://codecov.io/github/arnellebalane/zipcodes-ph/graphs/badge.svg","shields":"https://img.shields.io/codecov/c/github/arnellebalane/zipcodes-ph.svg","content":"https://img.shields.io/codecov/c/github/arnellebalane/zipcodes-ph.json"},"info":{"service":"codecov","type":"coverage"}},{"urls":{"original":"https://img.shields.io/npm/v/zipcodes-ph.svg","shields":"https://img.shields.io/npm/v/zipcodes-ph.svg","content":"https://img.shields.io/npm/v/zipcodes-ph.json"},"info":{"service":"npm","type":"version","modifiers":{"type":"v"}}},{"urls":{"original":"https://img.shields.io/npm/dw/zipcodes-ph.svg","shields":"https://img.shields.io/npm/dw/zipcodes-ph.svg","content":"https://img.shields.io/npm/dw/zipcodes-ph.json"},"info":{"service":"npm","type":"downloads","modifiers":{"type":"dw"}}},{"urls":{"original":"https://img.shields.io/npm/l/zipcodes-ph.svg","shields":"https://img.shields.io/npm/l/zipcodes-ph.svg","content":"https://img.shields.io/npm/l/zipcodes-ph.json"},"info":{"service":"npm","type":"license","modifiers":{"type":"l"}}}],"coverage":1}},"evaluation":{"quality":{"carefulness":0.7899999999999999,"tests":1,"health":1,"branding":0.6},"popularity":{"communityInterest":12,"downloadsCount":46,"downloadsAcceleration":0.07650304414003045,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":0.9,"issuesDistribution":0.9}},"score":{"final":0.6584138042049857,"detail":{"quality":0.9728219427943767,"popularity":0.04745408423282514,"maintenance":0.9998808339576686}}}