Skip to content

yanilkr/node-socksified

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP SOCKS5 support for node.js

WARNING: work in progress (for now only SOCKS5 is supported)

Install

$ npm install socksified

TODO

  • SOCKS4 support
  • HTTPS support

Example

var http = require('socksified');

var options = {
  socks_host: '127.0.0.1',
  socks_port: 1080,
  host: 'www.google.com',
  port: 80,
  path: '/'
};

http.get(options, function(res) {
  console.log("Got response: " + res.statusCode);
}).on('error', function(e) {
  console.log("Got error: " + e.message);
});

About

HTTP SOCKS support for node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published