Skip to content

About

South Africa ID Validator

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

South Africa ID Validator

South African ID validation rules

http://geekswithblogs.net/willemf/archive/2005/10/30/58561.aspx

Usage

import validate from 'validate-id-za';

const idNumber = '8001015009087';

validate(idNumber);

Contribute

Global dependencies

Testing

Tools

  • Framework - Mocha
  • Assertion Library - Chai (using expect)
  • Spies, Stubs, Mocks, etc - Sinon
  • Linting - ESLint

Commands

Command Description
yarn test run linter + unit tests
yarn test:lint run linter
yarn test:runner run unit tests
yarn test:watch run unit tests + watch for changes

About

South Africa ID Validator

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages