Get the current ticker information for cryptocurrencies
$ npm install -S cryptocurrency-ticker
const ticker = require('cryptocurrency-ticker');
ticker.availableExchanges().then((exchanges) => {
console.log(exchanges);
});
ticker.availablePairs('kraken').then((pairs) => {
console.log(pairs);
}).catch((err) => {
console.error(err);
});
ticker.ticker('kraken', 'eth_jpy').then((ticker) => {
console.log(ticker);
}).catch((err) => {
console.error(err);
});