fnord-client

0.0.3 • Public • Published

fnord-client

nodejs client module to the great fnordmetric server

https://github.com/paulasmuth/fnordmetric

Example Usage

var fnord     = require('./fnord.js');
fnord.init(param, function(){ winston.log('Stats ready')});

where param should have

param.redis = {port:port, host:host, options:options};

To send an event

//fnord example
fnord.set_name('username',<session>);
fnord.set_picture(image_url,<session>);
fnord.send({_type:<event_type>, url:<event_url>, _session:<session>});

Installation

npm install fnord-client

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i fnord-client

    Weekly Downloads

    4

    Version

    0.0.3

    License

    none

    Last publish

    Collaborators

    • registered