Socket
Socket
Sign inDemoInstall

company-finder

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 1.0.0

6

index.js

@@ -15,6 +15,6 @@ var https = require('https');

company.prototype.find = function(company, fn) {
company.prototype.find = function(query, fn) {
// There should be an email
if (!company) {
if (!query) {
this.sendBack('Provide the company to find.', null, fn);

@@ -27,3 +27,3 @@ return;

hostname: 'autocomplete.clearbit.com/v1',
path: '/companies/suggest?query='+vericationlevel,
path: '/companies/suggest?query='+query,
method: 'GET'

@@ -30,0 +30,0 @@ };

{
"name": "company-finder",
"version": "0.4.0",
"version": "1.0.0",
"description": "A module for find company URL using the ClearBit API.",

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

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