JSPM

live-fuel-currency-gold-prices

1.0.8
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 4
    • Score
      100M100P100Q61638F
    • License ISC

    This package will enable you to get live prices of fuel, gold and currencies

    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-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]