javascript intl.numberFormat reais

const currencyFormatter = new Intl.NumberFormat('pt-BR', { 
   style: 'currency', currency: 'BRL' 
});

currencyFormatter.format(100); // R$ 100,00
DevPedrada