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