live-fuel-currency-gold-prices
v1.0.8
Published
This package will enable you to get live prices of fuel, gold and currencies
Downloads
10
Maintainers
Readme
live-fuel-currency-gold-prices
live-fuel-currency-gold-prices is package to get live prices of fuel, currency and gold.
Installation
npm i live-fuel-currency-gold-prices
Usage
const fun=require('live-fuel-currency-gold-prices')
Promise.all([ fun.getLiveRates('cur'), fun.getLiveRates('gold'),fun.getLiveRates('fuel'),fun.getLiveRates('all') ] ).then( data=> {
const cur = data[0];
const gold = data[1];
const fuel = data[2];
const all = data[3];
console.log(all)
});
License
[Syedhaseeb16]