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

node-kontagent

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-kontagent

Unofficial Kontagent Node.js SDK

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

node-kontagent

Kontagent Node.js SDK (Unofficial). It's based on JavaScript SDK.

Installation

npm install kontagent

Usage

var KontagentApi = require('kontagent');
var ktApi = new KontagentApi('23476987657438245', { useTestServer: true });
ktApi.trackApplicationAdded('123', {uniqueTrackingTag: 111}, function(err, res) {
  if (err) return console.error(err.stack);
  console.log('ok');
});

Notes

Since node-kontagent uses and http module you may want to adjust http.globalAgent.maxSockets.

In this module semantics successCallback is not a success callback actually. It's supposed to be a regular callback with 2 arguments (err, res) where either err is an Error or res is an http.IncomingMessage.

Keywords

FAQs

Package last updated on 07 Apr 2013

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