
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
ec-docs-validator
Advanced tools
Validator for Ecuadorian Identification Documents
Validator para las identificaciones de los principales documentos usados en Ecuador: Cédula, ruc, teléfono fijo,
teléfono celular, placas de vehiculos y motos, codigo postal y más datos.
To install this package, use npm:
npm install ec-docs-validator
Javascript:
const validator = require('ec-docs-validator')
Typescript:
import validator from 'ec-docs-validator'
validator.ci(ci);
validator.ruc(ruc);
validator.cellphone(cellphone);
validator.telephone(telephone);
validator.plates(plate);
validator.zipCode(zipCode);
And you can use it like this:
validator.ci('1710034065'); // true
validator.ci('1234567890'); // false
validator.ruc('1804384731001'); // true
validator.ruc('1234567890123'); // false
validator.cellphone('0983484667'); // true
validator.cellphone('0884784667'); // false
validator.telephone('022895741'); // true
validator.telephone('022895741'); // true
validator.plates('PBA0389'); // true
validator.plates('IS150D'); // true
validator.plates('PBA038'); // false
validator.zipCode('128456'); // true
validator.zipCode('21456'); // false
To run the tests, use the following command:
npm test
This project is licensed under the MIT License - see the LICENSE file for details.
Fernando Guevara Bayas - Website
FAQs
Validador de los datos de documentos mas utilizados en Ecuador.
We found that ec-docs-validator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.