validacion-cedula-dominicana
v1.0.9
Published
Algoritmo validador de cédula dominicana
Downloads
21
Maintainers
Readme
validacion-cedula-dominicana
Algoritmo validador de cédula dominicana / Dominican ID validator algorithm
Instalación / Installation
CDN
<script src="https://unpkg.com/validacion-cedula-dominicana/src/index.min.js"></script>
NPM
npm install validacion-cedula-dominicana
Yarn
yarn add validacion-cedula-dominicana
Uso / Usage
import validateDominicanId from 'validacion-cedula-dominicana';
/**
* @param {string} dominicanId
* - Cédula dominicana que contenga solo dígitos. No admite guiones ni letras.
* - Dominican ID that contains only digits. Does not allow hyphens nor letters.
*/
validateDominicanId('00000000000');