
Security News
Socket Security Analysis Is Now One Click Away on npm
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.
There is instruction to download, rebuild and obtain the latest data from official source
There is instruction to download, rebuild and obtain the latest data from official source
postal.jsonjp-postal via npm install --save jp-postal or yarn add jp-postalpostal.json) maps 7 digits postal code (string format) into a map whose key is prefecture name and value is array of regions under the prefecture4520961 is associated with 66 regions, 2 regions in different prefectures have same postal code 4980000 (2018 June 28)const postal = require('jp-postal')
console.log(JSON.stringify(postal['1130021']))
console.log(JSON.stringify(postal['0040000']))
console.log(JSON.stringify(postal['4980000']))
Output
{"東京都":["文京区本駒込"]}
{"北海道":["札幌市厚別区","札幌市清田区"]}
{"愛知県":["弥富市"],"三重県":["桑名郡木曽岬町"]}
To rebuild to obtain the latest database
yarn
yarn rebuild
or
npm install
npm run rebuild
See package.json for the detail commands
archive.tar.bz2 contains files generated/downloaded while building on 2018 June 28yarn test
FAQs
There are instructions to download, rebuild and obtain the latest data from official source
The npm package jp-postal receives a total of 680 weekly downloads. As such, jp-postal popularity was classified as not popular.
We found that jp-postal demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.