Skip to content

naphattharawat/thai-id-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thai National ID CARD

Verify , Generate

Installation

$ npm install thai-id-card

Javascipt

const thaiIdCard = require('thai-id-card') // for ES5
or
import thaiIdCard from 'thai-id-card'; // for ES6

Usage

const result = thaiIdCard.verify('1101700207030');
// return true

const id = thaiIdCard.generate();
// return id

Demo

https://repl.it/@tanjaae/thai-id-card

About

Thai Id Card

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published