JSPM

shield-validator

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q24851F
  • License MIT

shield validator is a validation email/url/etc library

Package Exports

    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 (shield-validator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Funções Úteis para formatações (Brasil)

    Como usar?

    npm i shield-validator
    const { isValidEmail, isValidURL, isValidCPF } = require("shield-validator");
    • isValidEmail(value): Verifica se um email dado é válido

    • isValidURL(value): Verifica se uma URL dada é válida

    • isValidCPF(value): Verifica se um CPF dado é válido