0.0.4 • Published 9 years ago

mtrack-node v0.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

MTrack-Client-Node

npm

This is a client library for MTrack, for those who develop in Node.js

Installation

var mtrack=require('mtrack-node');

Apis

SendHBeat

The sendHBeat method can be used to send an "i'm alive" message to the MTrack backend. All messages will be stored but that doesn't mean that will be counted. Depending on the information visualized by the MTrack UI the HBeat count can be limited to 1 per day or to any other logic.

To post an hbeat use the following method:

mtrack.sendHBeat( options, callback );

Where:

  • options: JSON variable containing all needed options. Some are mandatory while other optional.

  • callback: a callback function

Options

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago