thai-address-cut

1.1.9 • Public • Published

thai-address-cut

** npm i thai-address-cut **

import thaiAddressCut from ‘thai-address-cut’ 

or

const thaiAddressCut = require(‘thai-address-cut’) 

how to use

const output = thaiAddressCut.cut( address(string), fullSearch(boolean : default = true))

Exaple:

const output = addressCut.cut('123 suphalai ville laksi donmoung, soi changargardutid5, changargardutid road, donmaeung, donmeung, bangkok, 10210')

credit :
https://github.com/peerasak-u/thai-address-splitter
credit file json :
https://www.thepexcel.com/thailand-tambon-database/
https://github.com/ThepExcel/download
https://github.com/ThepExcel/download/blob/master/ThepExcel-Thailand-Tambon.xlsx

Package Sidebar

Install

npm i thai-address-cut

Weekly Downloads

3

Version

1.1.9

License

MIT

Unpacked Size

1.09 MB

Total Files

9

Last publish

Collaborators

  • saranpol