Skip to content

AngelAlexQC/ec-dni-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EC DNI Validator

Validate DNI numbers of Ecuadorian citizens.

Validar cédulas de identidad o RUC de Ecuador

Install:

npm i ec-dni-validator

Usage:

Javascript:

const validator = require("ec-dni-validator");
console.log(validator.isValidDNI("0904939055"));
// true or false

Typescript:

import { isValidDNI } from "ec-dni-validator";
console.log(isValidDNI("0904939055"));
// true or false

License

MIT

About

Validate DNI numbers of Ecuadorian citizens.

Resources

License

Stars

Watchers

Forks

Packages

No packages published