1.0.3 • Published 7 years ago

price-of-gold v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Price of Gold

Look up the historical price of gold in USD.

NOTE: This doesn't work any more. The latest available date is 2016-04-18

Usage

npm install price-of-gold

Examples:

var PriceOfGold = require('price-of-gold');


PriceOfGold.latest(function (err, price) {
    console.log(price.date);
    console.log(price.price); // In USD
});


PriceOfGold.at(new Date('2015-10-17'), function (err, price) {
    console.log(price.date);
    console.log(price.price); // In USD
});
1.0.3

7 years ago

1.0.1

9 years ago

1.0.0

9 years ago