0.0.2 • Published 7 years ago

node-tor-control v0.0.2

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

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