A small library that adds commas to numbers, simplify brasilian currency (BRL)
npm install @malupressler/simple-currency-library
var formatCurrencyInput = require('@malupressler/simple-currency-library');
var formattedNum = formatCurrencyInput(35666);
Output should be 356,66
npm test