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