Package Exports
- @ldss95/helpers
- @ldss95/helpers/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ldss95/helpers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Helpers
Este paquete incluye funciones para:
- Validar cedula de identidad y electoral dominicana. Video
- Agregar formato a cadenas de texto
- Generar documentos PDF a partir de plantillas HTML
Ejemplos
import { duiIsValid, format, pdf } from 'ldss95@helpers'
if(duiIsValid('402256688353')){
//Do something
}
const phone = format.phone('8094260093')
// (809) 426 - 0093
const code = format.custom('8078', 'XXXX - XXXX - XXXX - XXXX')