persian-national-id
v1.0.2
Published
This package is a validator for the Persian national id and generates a valid Persian national id
Downloads
18
Maintainers
Readme
Persian national ID
This package is a validator for the Persian national id and generates a valid Persian national id
Installation
Install my-project with npm
npm i persian-national-id
Functions
1) validator for the Persian national id
used to check the validity of the national id
Example:
ValidNationalId('1234567890') // return false
2) generates a valid Persian national id
used to generate the valid national id (fake national id)
Example:
GenerateNationalId() // return '0959744487'
Contributing
This is a open-source project. Fork the project, complete the code and send pull request.