qri

qing_random_idcard

Automatic generated chinese idcard

Showing:

Popularity

Downloads/wk

1

Maintenance

No Maintenance Data Available

Package

Dependencies

0

Size (min+gzip)

8.8KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

说明

生成身份证id demo

    var qing_random_idcard = require('qing_random_idcard');
    var id_card = qing_random_idcard.getIdCard();
    console.log(id_card);

身份证校验

    var qing_random_idcard = require('qing_random_idcard');
    var id_card = "360302197603074635";
    console.log(qing_random_idcard.checkIdCard(id_card));// true
    var id_card2 = "18600001111";
    console.log(qing_random_idcard.checkIdCard(id_card2));// false

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100