br-utils
v2.0.5
Published
Utility resources to deal with Brazilian-related data.
Maintainers
Readme

Toolkit to handle the main operations with Brazilian-related data for JavaScript/TypeScript programming language:
Browser Support
|
|
|
|
|
|
|
|--- | --- | --- | --- | --- | --- |
| Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 11 ✔ |
Installation
# using NPM
$ npm install --save br-utils
# using Bun
$ bun add br-utilsImport
// Common JS syntax:
const brUtils = require('br-utils')
// ES Module syntax:
import brUtils from 'br-utils'
// or get the specific function with ES tree-shaking:
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:
- ⭐ Starring the repository
- 🤝 Contributing to the codebase
- 💡 Suggesting new features
- 🐛 Reporting bugs
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
