Package Exports
- live-fuel-currency-gold-prices
- live-fuel-currency-gold-prices/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (live-fuel-currency-gold-prices) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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-pricesUsage
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]