Skip to content
ZNZN Hub

$ npx verify-pak-nic

resolving packages…

✓ ready in 1.2s

  • Zero dependencies
  • ESM and CJS builds
  • Includes a CLI
  • Fully offline
Install

Up and running in a minute

  1. 01

    Install it with the command shown above.

  2. 02

    Import it in your project. Docs are linked from the source.

Overview

What verify-pak-nic does

A tiny dependency-free TypeScript library for Pakistani CNIC numbers. Validate structure, extract province and gender digits, format with dashes and mask for display. Ships as ESM and CJS with a CLI for quick checks.

Release history

  1. v0.1.0

    Announced on the hub

    Validate, format and mask Pakistani CNIC numbers offline, from code or the terminal.