Package with utilities for the convert number to price format
Use the npm to install
npm install @brainylab/numbers-utilsOr use the yarn to install
yarn add @brainylab/numbers-utilsimport { priceFormat } from '@brainylab/numbers-utils';
const number = 500;
const priceConverted = priceFormat(number)
console.log(priceConverted)
// return string 'R$ 500,00'