0.0.5 • Published 8 years ago

unblock-us v0.0.5

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

Unblock-us

This is a module to activate your unblock-us account with your current external ip address.

Usage

var UnblockUs = require('unblock-us').UnblockUs;

var ubClient = new UnblockUs({
    username: 'foo',
    password: 'bar'
});

ubClient.activate()
    .then(function () {
        console.log('Activated')
    })
    .catch(function (err) {
        console.log(err);
    });

The UnblockUs class

var UnblockUs = require('unblock-us').UnblockUs;

var ubClient = new UnblockUs({
    username: 'foo', //String (default '')
    password: 'bar', //String (default '')
    secure: false, // Boolean (default false) this is not tested yet. If true, the curl calls to unblock us will over port 443
    logLevel: 'error', //String (default 'error') this should a bunyan log level 
});

Tests

Coming soon

Contribute

Please only edit the contents of the src directory as on publish this will be compiled into the build directory.

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

8 years ago