Skip to content

arezhz/persian-national-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published