counterman-client

0.0.2 • Public • Published

node-counterman-client

Simple wrapper to talk to counterman

Usage

var cm = require('counterman-client'),
    cmHost = 'my.counterman.com';

cm.make(cmHost, function(id){
    console.log('Made ID: ', id);
    cm.getLast(function(lastId){
        console.log('Last ID generated was: ' + lastId);
    });
});

Install

 npm install node-counterman-client

Testing

git clone
npm install
mocha

/counterman-client/

    Package Sidebar

    Install

    npm i counterman-client

    Weekly Downloads

    2

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • imlucas