(require("granax"))(options, torrcOptions) → {TorController}

Returns a TorController with automatically constructed socket to the local Tor bundle executable

Parameters:
NameTypeDescription
optionsobject
torrcOptionsobject
Returns:
Type: 
TorController

Members

(static) commands

(static) replies

(static) TorController

(static) torrc

Methods

(static) tor() → {string}

Returns the local path to the tor bundle

Returns:
Type: 
string