@40bears/japan-postal-code-ts
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Japan Postal code

Typescript module for Japan Postal Code.

How to install

npm install @40bears/japan-postal-code-ts

How to use

Import

import * as postal_code from "japan-postal-code-ts";

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

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 @40bears/japan-postal-code-ts

Weekly Downloads

16

Version

1.0.1

License

MIT

Unpacked Size

7.33 MB

Total Files

961

Last publish

Collaborators

  • shubham_bears40
  • umar40b