Tipo de Cambio del Banco BAC Credomatic (https://www.baccredomatic.com/)
npm i exchange-rates-bac-dollar
import { ExchangeRateDollar, Country } from 'exchange-rates-bac-dollar';
const exchange = ExchangeRateDollar(Country.CR).then(exchangeRate => {
console.log(exchangeRate);
});
{
buy: 687.00,
sale: 701.00
}
CR | 'Costa Rica'
SV | 'El Salvador'
GT | 'Guatemala'
HN | 'Honduras'
NI | 'Nicaragua'
PA | 'Panamá'
CL | 'Colombia'