@brazilian-utils/is-valid-cnpj
v1.0.0-alpha.3
Published
> Check if CNPJ is valid.
Downloads
15,203
Readme
@brazilian-utils/is-valid-cnpj
Check if CNPJ is valid.
See our website http://brazilian-utils.github.io for more information or the issues associated with this package.
Install
Using NPM:
npm install @brazilian-utils/is-valid-cnpj --save
using Yarn
yarn add @brazilian-utils/is-valid-cnpj
or using tag
<script
type="text/javascript"
src="https://unpkg.com/@brazilian-utils/is-valid-cnpj/dist/index.umd.js"
></script>
Usage
If you load from a tag, you can use isValidCnpj
global. If you use ES6 with npm, you can write import isValidCnpj from '@brazilian-utils/is-valid-cnpj'
. If you use ES5 with npm, you can write var isValidCnpj = require('@brazilian-utils/is-valid-cnpj')
.