Skip to content

Zonxpk/thailand-address

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm install @zonxpk/thailand-address

import thailandAddress from '@zonxpk/thailand-address'

let thailandAddress = require('@zonxpk/thailand-address')

console.log(thailandAddress.getProvinces())
console.log(thailandAddress.getProvinceById(1))
console.log(thailandAddress.getDistricts(1))
console.log(thailandAddress.getDistrictById(1))
console.log(thailandAddress.getSubDistricts(1))
console.log(thailandAddress.getSubDistrictById(1))
console.log(thailandAddress.getZipCodeBySubDistrict(1))
  • getProvinces())

  • getProvinceById(provinceId))

  • getDistricts(provinceId))

  • getDistrictById(districtId))

  • getSubDistricts(subDistrictId))

  • getSubDistrictById(subDistrictId))

  • getZipCodeBySubDistrict(subDistrictId))

About

Thailand Address in English and Thailand Translation (NPM)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%