0.1.1 • Published 6 years ago

yubinbango.js v0.1.1

Weekly downloads
647
License
MIT
Repository
github
Last release
6 years ago

yubinbango.js

クライアントサイドJavaScriptで、郵便番号から住所を取得することができます。

yubinbango/yubinbango-coreからのフォークです。

npm経由でインストールすることができ、ブラウザ上で動作します。

This is a fork repository from yubinbango/yubinbango-core.

This package is available on npm and only run on the browser.

Installation

npm install yubinbango.js

Usage

import YubinBango from 'yubinbango.js';
YubinBango.getAddress('1058711').then(res => {
    console.log(res);
});

/* output:
{
  extended: "1丁目11-2(芝郵便局私書箱第211号)",
  locality: "品川区",
  prefecture: "東京都",
  street: "大崎"
}
*/
0.1.1

6 years ago

0.1.0

6 years ago