address-parser-cn
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

address-parser-cn (WIP)

CN Address Parser

Installation

# npm
npm install address-parser-cn

# yarn
yarn add address-parser-cn

Usage

import { parseAddress } from 'address-parser-cn';

parseAddress('中国江苏省南京市玄武区梅园新村街道');
// {
//   country: '中国',
//   province: '江苏省',
//   city: '南京市',
//   district: '玄武区',
//   town: '梅园新村街道'
// }

License

MIT © Qingrong Ke

Package Sidebar

Install

npm i address-parser-cn

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

103 kB

Total Files

14

Last publish

Collaborators

  • dearke