Socket
Socket
Sign inDemoInstall

apitracker-node-sdk

Package Overview
Dependencies
49
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    apitracker-node-sdk

This is a API Tracker sdk for Node. The sdk will forward calls to API Tracker proxy and can fall back to the original API if it detects an issue with API Tracker proxy


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

apitracker node sdk

This is a API Tracker sdk for Node. The sdk will forward calls to API Tracker proxy and can fall back to the original API if it detects an issue with API Tracker proxy

API Tracker capture your outbound calls to 3rd party API and let you know when things aren't working. Sign up at https://apitracker.com for a free account

Installation

Select a version that you want to install, e.g. v1.1.0. Run

$ npm install git+ssh://git@bitbucket.org/apitracker/apitracker-node-sdk.git#v1.1.0

Getting started

This example shows how to use instantiate the library

  • Sign up for an account with apitracker
  • Create an api and enter the api hostname, e.g. xkcd.com
  • Copy the apitracker proxy hostname, e.g. xxxx.apitracker.net
  • Put the following snippet of code, ideally at the top of your program
const apitracker = require('apitracker-node-sdk');
apitracker({
    hostmap: {
        'xkcd.com': 'de3taun2ysuh4f7iqsbvvbtucrq63oz3.apitracker.network',
    }
});

To do

Client side request capture vs proxy Reading config from API Tracker

FAQs

Last updated on 02 May 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc