Unirest-tor
This is an extension for unirest. It basically enables unirest, to use tor and its socks5 proxy.
Uses:
Example:
let unirest = require('unirest-tor');
unirest.tor.active = true;
//unirest.tor.newIdentity(); // Changes the ip
//unirest.tor.host = '127.0.0.1'; // Changes the tor host
//unirest.tor.proxyPort = 9050; // Changes the tor proxy port
//unirest.tor.controlPort = 9051; // Changes the controlport of tor
unirest.get('https://api.ipify.org/?format=json')
.end((data) => {
console.log(data);
});