identity-card-methods
v2.0.1
Published
Some ID card related methods.
Downloads
5
Readme
identity-card-related-methods
Some ID card related methods.
npm install 'identity-card-methods'
var identityCardMethods = require('identity-card-methods')
// transfer IDCardNO's length from 15 to 18
identityCardMethods.IDCardNO15To18(IDCardNO);
// checke IDCardNO is legal.
identityCardMethods.checkeIDCardNO(IDCardNO);
If use ES2015
npm install 'identity-card-methods'
import { checkeIDCardNO, IDCardNO15To18 } from 'identity-card-methods';