japan-postal-code
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/japan-postal-code package

0.3.0 • Public • Published

Japan Postal code

JavaScript module for Japan Postal Code.

Forked from https://github.com/ajaxzip3/ajaxzip3.github.io

How to install

npm install japan-postal-code

How to use

var postal_code = require('japan-postal-code');

postal_code.get('1000001', function(address) {
  console.log(address.prefecture); // => "東京都"
  console.log(address.city); // => "千代田区"
  console.log(address.area); // => "千代田"
  console.log(address.street); // => ""
});

LICENSE

MIT License

Readme

Keywords

Package Sidebar

Install

npm i japan-postal-code

Weekly Downloads

2,512

Version

0.3.0

License

MIT License

Unpacked Size

6.68 MB

Total Files

960

Last publish

Collaborators

  • mzp
  • yoshoku