1.2.1 • Published 8 years ago

thai-citizen-validator v1.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

thai-citizen-validator

simple way to validate thai citizenID.

InputOutput
Stringboolean
let thaiCitizenIdIsValid = require('thai-citizen-validator')

if(thaiCitizenIdIsValid('1234567890121')) {
  ...
}

or String.prototype.isThaiCitizenId()

we add custom string prototype for easy validate your citizenId.

if('1234567890121'.isThaiCitizenId()) {
  ...
}
1.2.1

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0-c

8 years ago

1.0.0-a

8 years ago

1.0.0

8 years ago