cr-currency-exchange

1.0.1 • Public • Published

cr-currency-exchange

This module returns an object containing the current exchange rate for costarican colones.

Usage:

var currency = require('cr-currency-exchange');

currency.getCurrency(317, function (result) {
    var exchangeValue = result.exchangeValue;
    //returns { exchangeValue: 518.8888}
 });

Params

type: what kind of type of result do you expect for a further reference of the codes please check:

Banco Central de Costa Rica - Servicio Web: http://www.bccr.fi.cr/indicadores_economicos_/ServicioWeb.html

Sample Codes:

Code          Returns
317	          Compra	Compra	Diaria
318	          Venta	Venta	Diaria

Enjoy :)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    3
  • 1.0.0
    1

Package Sidebar

Install

npm i cr-currency-exchange

Weekly Downloads

4

Version

1.0.1

License

ISC

Last publish

Collaborators

  • jmonterroso