nic-number-check

1.0.1 • Public • Published

Sri Lankan NIC Number check and get details

Modules that you can use in here

  1. Validated the NIC Number
  2. Get the birth year
  3. Check the gender

This module is worling with both old and new NIC numbers in Sri Lanka

Usage

const { validateNumber, getBirthYear, getGender } = require('nic-no-sri-lanka');

New NIC Number

  • Validated the NIC Number - validateNumber("200027666980")
  • Get the birth year - getBirthYear("200027666980")
  • Check the gender - getGender("200027666980")

Old NIC Number

  • Validated the NIC Number - validateNumber("641042757V")
  • Get the birth year - getBirthYear("641042757V")
  • Check the gender - getGender("641042757V")

Package Sidebar

Install

npm i nic-number-check

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

2.94 kB

Total Files

3

Last publish

Collaborators

  • isurupathumherath