yubinbango.js
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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: "大崎"
}
*/

Readme

Keywords

none

Package Sidebar

Install

npm i yubinbango.js

Weekly Downloads

1,157

Version

0.1.1

License

MIT

Unpacked Size

118 kB

Total Files

13

Last publish

Collaborators

  • r1o