Skip to content

Validates a South African National Identification Number against it's check digit at the end of the number.

License

Notifications You must be signed in to change notification settings

picsadotcom/za-id-validator

Repository files navigation

Validates a South African National Identification Number against it's check digit at the end of the number.

Usage:

import validate from 'za-id-validator';
const id = '8001015009087';
if(validate(id)){
  console.log(id, ' is a valid ZA ID number');
} else {
  console.log(id, ' is an invalid ZA ID number');
}

About

Validates a South African National Identification Number against it's check digit at the end of the number.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published