js-cnpj-validation
v1.2.0
Published
Lib for CNPJ validation
Downloads
63
Maintainers
Readme
js-cnpj-validation
Lib for CNPJ validation
Javascript example:
const cnpj = require('js-cnpj-validation');
console.log(cpf.isValidCNPJ("49.623.477/0001-12"))
Output: true
Typescript example:
import { isValidCNPJ } from 'js-cnpj-validation'
console.log(isValidCNPJ("49.623.477/0001-12"))
Output: true