js-format-cnpj
v1.7.0
Published
Lib to format CNPJ
Downloads
184
Readme
js-format-cnpj
Lib to format CNPJ
Javascript example:
const cnpj = require('js-format-cnpj');
console.log(cnpj.formatCNPJ("49623477000112"))
Output: 49.623.477/0001-12
Typescript example:
import { formatCNPJ } from 'js-format-cnpj'
console.log(formatCNPJ("49623477000112")
Output: 49.623.477/0001-12