1.3.0 • Published 3 years ago

singapore-ic-validator v1.3.0

Weekly downloads
11
License
ISC
Repository
github
Last release
3 years ago

Singapore IC Validator

A fast and easy to use Singapore IC validator.

Install

npm i singapore-ic-validator

Usage

const { validateNRIC } = require('singapore-ic-validator');

let result = validateNRIC('SXXXXXXXJ');

If the returned value is true, then validation succeeds.

If the returned value is false, then validation fails.