Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

br-utils

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

br-utils

Utility resources to deal with Brazilian-related data.

latest
Source
npmnpm
Version
2.0.4
Version published
Maintainers
2
Created
Source

br-utils for JavaScript

NPM Latest Version Bundle Size Downloads Count Test Status Last Update Date Project License

Toolkit to handle the main operations with Brazilian-related data for JavaScript/TypeScript programming language:

Browser Support

ChromeFirefoxSafariOperaEdgeIE
Latest ✔Latest ✔Latest ✔Latest ✔Latest ✔11 ✔

Installation

# using NPM
$ npm install --save br-utils

# using Bun
$ bun add br-utils

Import

// 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:

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

Keywords

cpf

FAQs

Package last updated on 18 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts