Socket
Book a DemoInstallSign in
Socket

unblock-us

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unblock-us

Client for unblock us

0.0.5
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 24 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.