Skip to content

Pagnet/blu-utils

Repository files navigation

Blu Utils

Actions Status GitHub License GitHub last commit Prettier code style Conventional Commits

Installation

yarn add @useblu/utils

or

npm i @useblu/utils

Usage

Javascript

import { normalizeMoney, normalizeCpfOrCnpj } from "@useblu/utils";

console.log(normalizeMoney(150)); // R$ 150,00
console.log(normalizeCpfOrCnpj("93231097037")); // 932.310.970-37

Contributing

Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of this project! Read below to learn how you can take part of it.

Code of Conduct

We adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Contributing Guide

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.

Good First Issues

To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started.

Release to NPM

To release a new version on NPM registry, just bump version on package.json and merge it into master to automatically publish a new version.

License

All packages are licensed under the terms of the GPL-3.0 License.