br-utils for JavaScript

Toolkit to handle the main operations with Brazilian-related data for JavaScript/TypeScript programming language:
Browser Support
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 11 ✔ |
Installation
$ npm install --save br-utils
$ bun add br-utils
Import
const brUtils = require('br-utils')
import brUtils from 'br-utils'
import { cpf as cpfUtils, cnpj as cnpjUtils } from 'br-utils'
or import it through your HTML file, using CDN:
<script src="https://cdn.jsdelivr.net/npm/br-utils@latest/dist/br-utils.min.js"></script>
API
Check out the API details for each submodule of the package:
Contribution & Support
We welcome contributions! Please see our Contributing Guidelines for details. But if you find this project helpful, please consider:
License
This project is licensed under the MIT License - see the LICENSE file for details.
Changelog
See CHANGELOG for a list of changes and version history.
Made with ❤️ by Lacus Solutions