1.0.11 • Published 3 years ago

apiens-node-agent v1.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

This library exports the apiens plugin to track and manage your 3rd party APIs. This plugin will load apiens tracking tools and reliability features into your application.

You can install the Apiens plugin from the terminal using npm and add it into your project:

Installation

npm install apiens-node-agent

How to use

The apines-node-agent package works in the server-side in Node.js. To use, install the package, include in your project and initialize the plugin with analytics.

Below is an example of how to use the browser plugin.

const Apiens = require('apiens-node-agent')

await Apiens.init({ 
    secretKey: 'YOUR_APIENS_SECRET_KEY' 
})

http.request(...)
axios.get(...)
request(...)

Your Secret Key is available on the Apiens dashboard.

The init function returns a promise which you can use to ensure Apiens is fully loaded before performing any outgoing requests.

Once you start your application all outgoing API calls will be monitored and available on your Apiens dashboard.

1.0.11

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.10

3 years ago

1.0.1

3 years ago