Nearsighted Penguin March

    @brazilian-utils/validators

    0.1.9 • Public • Published

    @brazilian-utils/validators

    A collection of useful validators

    Installation

    # Yarn
    yarn add @brazilian-utils/validators
    
    # npm
    npm install @brazilian-utils/validators --save
    
    # UMD
    <script type='text/javascript' src='https://unpkg.com/@brazilian-utils/validators/dist/index.umd.js'></script>

    Usage

    // named imports
    import { isValidCpf, isValidCnpj } from '@brazilian-utils/validators';
    
    // UMD
    validators.isValidCpf('478457478157') // false
    validators.isValidCnpj('4784574781574422') // false

    Install

    npm i @brazilian-utils/validators

    DownloadsWeekly Downloads

    675

    Version

    0.1.9

    License

    MIT

    Unpacked Size

    3.65 kB

    Total Files

    8

    Last publish

    Collaborators

    • andreoav
    • hyanmandian
    • lucassveloso