Nightlink
Start and control a Tor instance.
Install
$ npm install --save nightlink
Usage
Basic
const nightlink = ; const tor = await nightlink; // Tor has started and connected to the network. await tor;
Logs
tor
Logs by level
tor;tor;tor;
Examples
API
nightlink.launch([options])
options
Type: object
Define options to be used.
SocksPort
Type: Number
Define port Tor should start the SOCKS proxy on.
.close()
.on('log', callback)
.on('notice', callback)
.on('warn', callback)
.on('err', callback)
Licence
MIT © Ben Evans