cpf-validator

1.0.1 • Public • Published

CPF Validator

CPF Validator is a module to validate brazilians' CPF, it can be used in two different forms, with or without punctuation, it's better explained at Usage.

Installation

npm i cpf-validator

Importing

const cpfValidator = require('cpf-validator');

Usage

cpfValidator.isValid('111.111.111-11');
cpfValidator.isValid('11111111111');

Readme

Keywords

Package Sidebar

Install

npm i cpf-validator

Weekly Downloads

51

Version

1.0.1

License

MIT

Unpacked Size

7.63 kB

Total Files

7

Last publish

Collaborators

  • mgenteluci