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

clearbit

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clearbit - npm Package Compare versions

Comparing version 1.2.1 to 1.2.3

example/enrichment.js

5

example/prospector.js
var Client = require('../src').Client;
var clearbit = new Client();
clearbit.Prospector.search({domain: 'clearbit.com'})
clearbit.Prospector.search({domain: 'clearbit.com', titles: ['CEO']})
.then(function (results) {

@@ -11,6 +11,3 @@ console.log('Results:', results);

});
})
.catch(function (err) {
console.error(err);
});

8

package.json
{
"name": "clearbit",
"version": "1.2.1",
"version": "1.2.3",
"description": "Client for Clearbit.co business intelligence APIs",

@@ -27,4 +27,4 @@ "main": "./src",

"create-error": "0.3",
"needle": "0.7.10",
"lodash": "2"
"needle": "1.1.0",
"lodash": "4.15.0"
},

@@ -41,3 +41,3 @@ "devDependencies": {

"mocha": "1",
"nock": "0.42",
"nock": "8.0.0",
"sinon": "1",

@@ -44,0 +44,0 @@ "yargs": "1"

@@ -10,2 +10,3 @@ 'use strict';

var needle = Promise.promisifyAll(require('needle'));
var stringify = require('./querystring').build;
var pkg = require('../package.json');

@@ -25,2 +26,4 @@

this.Prospector = require('./prospector').Prospector(this);
this.Reveal = require('./reveal').Reveal(this);
this.Risk = require('./risk').Risk(this);
this.Watchlist = require('./watchlist').Watchlist(this);

@@ -57,2 +60,8 @@ this.WatchlistCandidate = require('./watchlist').WatchlistCandidate(this);

ClearbitClient.prototype.query = function (object) {
if ( !object ) return;
return stringify(object);
};
ClearbitClient.prototype.request = function (options) {

@@ -59,0 +68,0 @@ options = _.defaults(options, {

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