persian-national-id

1.0.2 • Public • Published

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.

🔗 Links

linkedin twitter

Package Sidebar

Install

npm i persian-national-id

Weekly Downloads

3

Version

1.0.2

License

ISC

Unpacked Size

3.25 kB

Total Files

3

Last publish

Collaborators

  • hadizareirani