g0vhk-io / hk-address-parser-lib

The universal javascript library for HKAddressParser
MIT License
8 stars 4 forks source link

香港地址解析器 Hong Kong Address Parser Lib

This is the JavaScript Address Resolver library for Hong Kong Address Parser. Feel free to check the frontend repo or download the npm package.

For full details, see https://g0vhk-io.github.io/hk-address-parser-lib

Installation

Install library from npm directly

npm i hk-address-parser-lib

Usage


import AddressResolver from 'hk-address-parser-lib';

...

const records = await AddressResolver.parse("address to search");
records.forEach(address => {
  //
})