Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pipelinedeals

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pipelinedeals - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

test.js

6

index.js

@@ -8,3 +8,3 @@ var request = require('request');

if (!options.endpoint || !options.apiKey) {
callback('options.endpoint and options.apiKey are both required');
return callback('options.endpoint and options.apiKey are both required');
}

@@ -29,2 +29,6 @@

if(!body.entries) {
return callback(null, [body]);
}
allEntries = allEntries.concat(body.entries);

@@ -31,0 +35,0 @@

2

package.json
{
"name": "pipelinedeals",
"version": "1.0.0",
"version": "1.1.0",
"description": "Easier access to the PipelineDeals API",

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

@@ -5,6 +5,12 @@ # pipelinedeals

It will always return an array of entries (even with the profile.json call)
##Usage
```
var pld = require('pipelinedeals');
pld.get({endpoint: 'deals.json', apiKey: 'INSERT_API_KEY_HERE'}, function(err, entries, allInfo){
var options = {
endpoint: 'deals.json',
apiKey: 'INSERT_API_KEY_HERE'
};
pld.get(options, function(err, entries){
//here you have access to the data from the call

@@ -11,0 +17,0 @@ });

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc