biobe-validators
Getting started
Install with NPM
$ npm install biobe-validators --save
Install with Yarn
$ yarn add biobe-validators
How to use with ES6
CPF
; // No points or hyphens; // false; // false // With points or hyphens; // false
CNPJ
; // No points or hyphens; // true; // false // With points or hyphens; // true
How to use with ES5
const validator = ; // No points or hyphensvalidator; // truevalidator; // falsevalidator; // truevalidator; // false // With points or hyphensvalidator; // truevalidator; // false