norgesbank

0.1.0 • Public • Published

Norges Bank

Currently just fetches the exchange rate between two currencies at a given date.

Install

npm i norgesbank

Usage

const norgesbank = require('norgesbank')

const options = {
  to: 'NOK',
  from: 'USD',
  date: new Date() - 1 // yesterday is the default
}

const rate = norgesbank(options)
// 9.3453

MIT Licensed. Enjoy!

/norgesbank/

    Package Sidebar

    Install

    npm i norgesbank

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    4.55 kB

    Total Files

    9

    Last publish

    Collaborators

    • eldoy