Closed scottie closed 7 years ago
It actually returns a promise. I have updated the readme because I see how this could be confusing. Try using a promise like this:
coinTicker('bitstamp', 'btcusd')
.then( tick => {
console.log(tick);
});
I get Promise pending no matter how i run this. Any ideas? Even in node terminal.