SOCKS5 HTTPS Client
SOCKS v5 HTTPS client implementation in JavaScript for Node.js.
var shttps = require('socks5-https-client');
shttps.get('https://encrypted.google.com/', function(res) {
res.setEncoding('utf8');
res.on('readable', function() {
console.log(res.read());
});
});
Using with Tor
Works great for making HTTPS requests through Tor (see bundled example).
HTTP
This client only provides support for making HTTPS requests. See socks5-http-client for an HTTP implementation.
License
Copyright © 2013 Matthew Caruana Galizia, licensed under an MIT license.