developersdo / sdq Licence: MIT license
📦 Utility functions to validate cédula and RNC!
Programming Languages javascript 184084 projects - #8 most used programming language
Projects that are alternatives of or similar to sdq utils-do utils-do is a javascript package that provides functionalities that'll easily help you to interact with Dominican Republic's data.
Stars : ✭ 18 (+5.88%)
Mutual labels: dominican-republic
coworking Listing of coworking spaces or public place to work across the Dominican Republic.
Stars : ✭ 28 (+64.71%)
Mutual labels: dominican-republic
Features
Validate Cédula de Identidad Electoral.
Validate RNC (Registro Nacional del Contribuyente).
Only 1.98KB (1.03 gzipped)!
Installation
or
Usage
import sdq from 'sdq'
sdq . isCedula ( 'xxx-yyyyyyy-z' ) // Returns true/false.
sdq . isRnc ( 'aaa-bbbbb-c' ) // Returns true/false.
Development
Clone and fork this repo.
Install dependencies: yarn
or npm install
.
Run tests .
Prepare a pull request.
Test
yarn test
— to run all tests.
yarn test -- --watch
— to run all tests in watch mode.
Publish
Bump package version: yarn version --new-version x.x.x -m 'Version %s.'
.
Publish to NPM registry: npm publish
.
Push new tag: git push origin --tags
.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at
[email protected] .