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

hapi-hubspot

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-hubspot

Hapi Plugin to handle hubsport handshake and initial setup (via Node-Hubspot)

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

hapi-hubspot

CircleCI

Stories in Ready

Hapi Plugin to handle Hubspot handshake and initial setup via Node-Hubspot

Install

npm install --save hapi-hubspot

Usage

var options = {
    key: 'demo' //Note: you can also use a key, see node-hubspot docs for more info
};

var server = new Hapi.Server();

server.register({
    register: require('hapi-hubspot'),
    options: options
}, function (err) { });

var client = server.plugins['hapi-hubspot'].client;

Example

var client = server.plugins['hapi-hubspot'].client;

client.campaigns.get(function(err, res) {
  if (err) { throw err; }
  console.log(res);
});

Options

  • token
  • key

Keywords

FAQs

Package last updated on 14 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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