clean-cnpj-validator
v1.0.0
Published
A simple and clean cnpj validator.
Downloads
2
Readme
Clean Cnpj Validator
Installation
npm i clean-cnpj-validator
Usage
JavaScript
const { CnpjValidator } = require('clean-cnpj-validator')
const isValid = CnpjValidator.validate('12.345.678/9123-45') // true
TypeScript
import { CnpjValidator } from 'clean-cnpj-validator'
const isValid = CnpjValidator.validate('12.345.678/9123-45') // true