0.0.6 • Published 7 years ago

votifier2 v0.0.6

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

votifier2

This library supports network protocol v2 of the NuVotifier plugin.

Installation

npm install --save votifier2

Usage

    var vote = require('votifier2');

    var options = {
        host: '127.0.0.1',
        port: 8192,
        token: 'MYTOKEN',
        vote: {
            username: 'USERNAME',
            address: '127.0.0.1',
            timestamp: new Date().getTime(),
            serviceName: 'TestService'
        }
    };

    vote(options, function(err) {
        if (err) {
            console.log(err);
        } else {
            console.log('success');
        }
    });
0.0.6

7 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

9 years ago