cryptocurrency-ticker
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

cryptocurrency-ticker

Get the current ticker information for cryptocurrencies

Install

$ npm install -S cryptocurrency-ticker

Usage

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);
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    0
    • latest

Version History

Package Sidebar

Install

npm i cryptocurrency-ticker

Weekly Downloads

0

Version

1.0.6

License

MIT

Last publish

Collaborators

  • sapphire-sh