(require("granax"))(options, torrcOptions) → {TorController}
Returns a TorController with automatically constructed socket to the local Tor bundle executable
Parameters:
Name | Type | Description |
---|---|---|
options | object | |
torrcOptions | object |
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