check-thai-pid
v1.0.10
Published
Check thai personal ID
Downloads
9
Maintainers
Readme
check-thai-pid
Check thai personal ID
Installation
npm
npm install --save check-thai-pid
yarn
yarn add check-thai-pid
Usage
Check thai personal ID
const CheckThaiPID = require('check-thai-pid')
const personalID = 9999999999999 //string or number
let outStr = CheckThaiPID(personalID) ? 'Personal ID is correct' : "Personal ID is incorrect"
console.log(outStr)