Socket
Book a DemoInstallSign in
Socket

apitracker-node-sdk

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

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

latest
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 02 May 2020

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