identity-card-methods

2.0.1 • Public • Published

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';

Readme

Keywords

Package Sidebar

Install

npm i identity-card-methods

Weekly Downloads

1

Version

2.0.1

License

MIT

Last publish

Collaborators

  • aloneest