Utils about citizen identification number | 公民身份证号码工具方法.
npm i @code-ts/cin
yarn add @code-ts/cin
pnpm add @code-ts/cin
import { validateCIN } from '@code-ts/cin'
validateCIN('110101199003076878') // true
Check if the given code match the CIN pattern.
Type definition:
function validateCIN(code: string): boolean