v1.4.1
@sri-lanka/nic
Parse, validate, and build Sri Lankan National Identity Card numbers.
Zero dependencies. TypeScript. Works everywhere.
$pnpm add @sri-lanka/nic
DocsTry it out
Paste any Sri Lankan NIC number to instantly see the decoded details.
NIC Builder
Generate valid NIC numbers for testing. Choose a format, set the details, and build.