0.3.0 • Published 9 months ago

tw-id-num v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

tw-id-num

CI

Check or generate Taiwan ID numbers.

檢查或是產生中華民國國民身分證統一編號(即身份證字號,而非營業人統一編號),支援新式外來人口統一證號。也特別支援舊式外來人口統一證號的檢查。

Usage

import { Mode, check, generate, checkIncludingOldResidentID } from "tw-id-num";

const id = generate(Mode.National); // e.g. "A123456789"

console.log(check(id)); // true

console.log(checkIncludingOldResidentID("HD12345678")); // true

Usage for Browsers

Source

Demo Page

License

MIT

0.3.0

9 months ago

0.2.3

2 years ago

0.1.11

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.2

2 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago