DEV Community

loading...
Cover image for This is my identity number validator package (NPM)

This is my identity number validator package (NPM)

David Armendáriz
・1 min read

Some time ago, I released an extremely simple project, yet extremely useful: an identity number validator package.
In my country (Ecuador) we have a simple algorithm to validate if an identity number (we call it "cédula") is valid or not. I have worked in many projects where we need to validate this, and I had to re-write the algorithm every time. So why not make it public?

https://www.npmjs.com/package/identity-number-validator

Do you have something similar in your country? If yes, would you like to contribute?

Discussion (0)