npm.io
0.0.2 • Published 9 years ago

node-tor-control

Licence
ISC
Version
0.0.2
Deps
2
Vulns
0
Weekly
0
Stars
1

Build Status

node-tor-control

A node library to communicate with tor-control

For basic information about tor-control please read the specs

How to use

npm install node-tor-control --save
const { connect, disconnect, tor } = require('node-tor-control');

const connection = await connect({ password: 'password' });

const status = await tor.signalNewNYM(connection);

console.log(status.code); // -> 250
console.log(status.text); // -> OK

Keywords