ssn-aut-validator
v1.0.0
Published
Validate an AUT Social Security Number (SSN)
Downloads
68
Readme
ssn-aut-validator
Validate an AUT Social Security Number (SSN)
Installation
npm install --save ssn-aut-validator
Usage
import SSNValidator from ssn-aut-validator;
SSNValidator.validate(value)
This method validates if the given value is a valid Austrian Social Security Number
.
Arguments
value
(string): The value to validate.
Returns
(boolean): Returns whether the input value is a valid SSN or not.
Example
SSNValidator.validate('');
// => false
SSNValidator.validate('12345678');
// => false
SSNValidator.validate('3968280689');
// => true
Tests
To test using a local installation of node.js
:
npm test