JavaScript library for the CryptoCompare api.
Warning: the CryptoCompare documentation page has some inaccuracies. Reference this page for the most accurate documentation.
The cryptocompare-api library requires fetch to be available in the global namespace. If needed, a polyfill can be found here.
For usage in Node.js, install node-fetch and set it on global
.
Example:
global.fetch = require('node-fetch');
With yarn:
yarn add cryptocompare-api
With npm:
npm install cryptocompare-api