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 :)

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i cr-currency-exchange

    Weekly Downloads

    4

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • jmonterroso