Bitcoin Exchange Rates
Convert any Bitcoin amount to your preferred currency.
Installation
Using npm
:
$ npm [-g] install bitcoin-exchange-rates
In Node.js:
var rates = ;
Synopsis
var btcAmount currency rates;rates = ;btcAmount = 0100172;currency = 'USD';rates;
API
rates.fromBTC(amount, currency, callback(err[, amount]))
Convert an amount
of Bitcoins to currency
.
Author
Matthew Hudson |