0.0.4 • Published 8 years ago

x-ray-tor v0.0.4

Weekly downloads
19
License
-
Repository
github
Last release
8 years ago

x-ray-tor

Tor driver for x-ray.

Installation

npm install x-ray-tor

Usage

var Xtor = require('x-ray-tor');
var Xray = require('x-ray');

var x = Xray()
  .driver(Xtor());

x('http://google.com', 'title')(function(err, str) {
  if (err) return done(err);
  assert.equal('Google', str);
  done();
})

API

tor(options)

Initialize the Tor driver with options.

var x = Xray()
  .driver(Xtor({
    torHost: "my-tor-ip-address",
    torPort: "my-tor-port",
    torPassword: "my-tor-password"
  });

License

x-ray-tor is free--as in BSD. Hack your heart out, hackers.

  • NOTE: x-ray itself is licensed MIT.
0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago