node-tor-control
v0.0.2
Published
A node library to communicate with tor-control
Downloads
5
Readme
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