Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

The orbit telemetry client for JavaScript

License

Notifications You must be signed in to change notification settings

glenndehaan/orbit-js-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orbit JS Client

The orbit telemetry client for JavaScript

npm node

Setup

Install the util:

npm install orbit-js-client

Require the util somewhere in your code:

const orbit = require('orbit-js-client')({
    server: 'https://orbit.example.com',
    token: 'example-token',
    project: 'orbit-test-project',
    env: 'dev'
});

That's it the Orbit client will now connect to the Orbit Server and send over the required data

Stop

To stop Orbit from sending data use the function provided in the return value from the Orbit client:

const orbit = require('orbit-js-client')({
    server: 'https://orbit.example.com',
    token: 'example-token',
    project: 'orbit-test-project',
    env: 'dev'
});

orbit.stop();

License

MIT

About

The orbit telemetry client for JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages