sivar-utils 🇸🇻
TS/JS utils para el desarrollo de sistemas salvadoreños (Validacion de docs DUI, NIT, etc...)
Getting Started
Installation
npm install --save sivar-utils
Usage
- #### isDUI
; ;;; // DISCLAIMER: taken from Google isDUIstr; // falseisDUIfakeDUI; // falseisDUIvalidDUI; // true
- #### isNIT
; ;;; // DISCLAIMER: taken from Google; isNITstr; // falseisNITfakeNIT; // falseisNITvalidNIT; // trueisNITalsoValidNIT; // true
- #### isMobilePhoneNumber
; ;;; // DISCLAIMER: taken from Google isMobilePhoneNumberstr; // falseisMobilePhoneNumberfakeMobilePhone; // falseisMobilePhoneNumbervalidMobilePhone; // true
- #### isResidentialPhoneNumber
; ;;; // DISCLAIMER: taken from Google isResidentialPhoneNumberstr; // falseisResidentialPhoneNumberfakeResidentialPhone; // falseisResidentialPhoneNumbervalidResidentialPhone; // true
- #### isPhoneNumber
; ;;; /* or '7725-4747' */ // DISCLAIMER: taken from Google isPhoneNumberstr; // falseisPhoneNumberfakePhone; // falseisPhoneNumbervalidPhone; // true
- #### isPassport
; ;;; isPassportstr; // falseisPassportfakePassport; // falseisPassportvalidPassport; // true
- #### isCarPlate
; ;;; // DISCLAIMER: taken from Google; // DISCLAIMER: taken from Google isCarPlatestr; // falseisCarPlatefakePlate; // falseisCarPlatevalidNationalPlate; // trueisCarPlatevalidParticularPlate; // true
Contributing
How to contribute?
This is a commitizen friendly
repository, so instead of creating commits using git commit
, please use our custom CLI by running:
npm run cz
Formatting & Linting
Make sure you have installed the following plugins on your Code Editor
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Alejandro Paz ⚠️ 💻 |
Jorge Monge 💻 🐛 |
Ricardo Ramírez 🤔 |
Jaime Leonardo Suncin Cruz 💻 ⚠️ 🤔 |
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT © jonathanpalma