Skip to content

brazilian-utils/javascript

Repository files navigation

Brazilian Utils

Utils library for Brazilian-specific businesses.

📖 Documentation

Build Status Coverage Status Known Vulnerabilities Maintainability Downloads per month License: MIT

Table of Contents

Getting Started

Brazilian Utils is a library focused on solving problems that we face daily in the development of applications for the Brazilian business.

Installation

Using Brazilian Utils is quite simple and you can use it in some ways:

as npm package:

npm install --save @brazilian-utils/brazilian-utils

with yarn package manager:

yarn add @brazilian-utils/brazilian-utils

or <script> tag (global brazilianUtils):

<script src="https://unpkg.com/@brazilian-utils/brazilian-utils/dist/brazilian-utils.cjs.production.min.js"></script>

Usage

To use one of our utilities you just need to import the required function as in the example below:

import { isValidCpf } from "@brazilian-utils/brazilian-utils";

isValidCpf("1232454233345"); // false

You can check a list of utilities by clicking here.

Development

This repository uses Vite+ as the local toolchain.

Requirements:

  • Node.js ^20.19.0 || >=22.12.0
  • vp installed and available in your shell

Common commands:

vp install
vp check
vp test
vp run build

Release notes are published through GitHub Releases.

Contributors

Our "thank you" goes to these wonderful people (emoji key):

Image
Hyan Mandian

💻 📖 🤔 ⚠️
Image
Lucas Veloso

💻 📖 🤔 ⚠️
Image
Andreo Vieira

💻 📖 🤔 🔧
Image
Matheus Almeida

💻 📖 ⚠️
Image
Fernando Rogelin

💻 📖 ⚠️
Image
rodineijf

💻 📖 ⚠️
Image
Emerson Laurentino

💻 📖 ⚠️
Image
Leonardo Dutra

💻 📖 ⚠️
Image
Victor Magalhães

💻 🔧
Image
Amauri Dias

💻 🔧
Image
Felipe F. Diogo

💻 ⚠️
Image
Alan Raso

💻 ⚠️
Image
Felipe Fetter

📖
Image
Rafael Franco

💻 📖
Image
Rafael Pezzetti

💻 ⚠️ 📖
Image
Antonio Roberto Furlaneto

💻 📖 ⚠️
Image
Felipe Nolleto Nascimento

💻 📖 ⚠️
Image
Saulo Joab

📖
Image
Pedro Arantes

💻 📖 ⚠️
Image
Silvio Clécio

💻 📖 ⚠️
Image
Lucas Nascimento

💻
Image
Lincon Kusunoki

💻 📖 ⚠️
Image
Marcelo Cristiano

💻 📖 ⚠️
Image
Tarcísio Batista de Freitas Junior

📖
Image
Lucas Carrias

📖 ⚠️ 💻 🔧
Image
Matheus Andre

📖
Image
Henrique Volponi

💻
Image
Lindsay Ferreira

💻
Image
Vicente Vendramin

💻

This project follows the all-contributors specification. Contributions of any kind are welcome!

License

MIT