Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    japan-postal-codepublic

    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('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

    install

    npm i japan-postal-code

    Downloadsweekly downloads

    329

    version

    0.2.0

    license

    MIT License

    repository

    githubgithub

    last publish

    collaborators

    • avatar