Socket
Socket
Sign inDemoInstall

fred-api

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 1.0.0

2

package.json
{
"name": "fred-api",
"version": "0.0.2",
"version": "1.0.0",
"description": "Javascript wrapper for FRED (Federal Reserve Economic Database) API",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -17,2 +17,4 @@ # Fred

>> var Fred = require('fred-api');
>> apiKey = process.env.FRED_KEY;

@@ -23,3 +25,6 @@ >> fred = new Fred(apiKey);

>> fred.getSeries({series_id: 'GNPCA')
>> fred.getSeries({series_id: 'GNPCA'}, function(error, result) {
console.log(result)
});
=> { realtime_start: '2015-01-13',

@@ -26,0 +31,0 @@ realtime_end: '2015-01-13',

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc