react-thai-address

1.0.6 • Public • Published

react-thai-address

Install

npm install --save react-thai-address

Usage

import ThaiAddress from 'react-thai-address';

// search by attribute
const results = ThaiAddress.search({ province: "พิษณุโลก" }, 10);

// get all provinces
const provinces = ThaiAddress.provinces;

// verify address
// const isValid = ThaiAddress.verify(tumbon, city, province)

Search Attribute

  • { tumbon: "textToSearch" }

  • { city: "textToSearch" }

  • { province: "textToSearch" }

  • { zipcode: "textToSearch" }

License

Inforvation

Readme

Keywords

none

Package Sidebar

Install

npm i react-thai-address

Weekly Downloads

15

Version

1.0.6

License

inforvation

Unpacked Size

704 kB

Total Files

4

Last publish

Collaborators

  • dekdclubja
  • woralak_dev