Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

socks

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socks - npm Package Compare versions

Comparing version 1.1.10 to 2.0.0

build/client/socks-client.js

73

package.json
{
"name": "socks",
"version": "1.1.10",
"description": "A SOCKS proxy client supporting SOCKS 4, 4a, and 5. (also supports BIND/Associate)",
"main": "index.js",
"homepage": "https://github.com/JoshGlazebrook/socks",
"version": "2.0.0",
"description": "Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.",
"main": "build/socks.js",
"homepage": "https://github.com/JoshGlazebrook/socks/",
"repository": {

@@ -17,24 +17,61 @@ "type": "git",

"proxy",
"client",
"tor",
"bind",
"associate",
"socks 4",
"socks 4a",
"socks 5",
"agent"
"socks4",
"socks5"
],
"engines": {
"node": ">= 0.10.0",
"npm": ">= 1.3.5"
"node": ">= 4.0.0",
"npm": ">= 3.0.0"
},
"author": "Josh Glazebrook",
"contributors": [
"Samuel Gordalina"
],
"license": "MIT",
"readmeFilename": "README.md",
"devDependencies": {
"@types/chai": "4.0.8",
"@types/ip": "^0.0.30",
"@types/mocha": "^2.2.44",
"@types/node": "8.0.57",
"chai": "^4.1.2",
"mocha": "^4.0.1",
"nyc": "11.4.0",
"socks5-server": "^0.1.1",
"ts-node": "^3.3.0",
"tslint": "^5.8.0",
"typescript": "2.6.2"
},
"dependencies": {
"ip": "^1.1.4",
"smart-buffer": "^1.0.13"
"ip": "^1.1.5",
"smart-buffer": "^4.0.1"
},
"scripts": {
"prepublish": "npm install -g typescript && npm run build",
"test": "NODE_ENV=test mocha --recursive --compilers ts:ts-node/register test/**/*.ts",
"coverage": "NODE_ENV=test nyc npm test",
"coveralls": "NODE_ENV=test nyc npm test && nyc report --reporter=text-lcov | coveralls",
"lint": "tslint --project tsconfig.json 'src/**/*.ts'",
"build": "tsc -p ./"
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"include": [
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"**.*.d.ts",
"node_modules",
"typings"
],
"require": [
"ts-node/register"
],
"reporter": [
"json",
"html"
],
"all": true
}
}
socks
=============
socks is a full client implementation of the SOCKS 4, 4a, and 5 protocols in an easy to use node.js module.
Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.
### Notice
As of February 26th, 2015, socks is the new home of the socks-client package.
### Highlights
### Why socks?
* Supports SOCKS 4, 4a, and 5 protocols.
* Supports the CONNECT, BIND, and ASSOCIATE commands.
* Supports callbacks, promises, and events for proxy connection creation flows.
* Supports Proxy chaining (CONNECT only).
* Built in UDP frame creationg & parsing methods.
* Built in TypeScript, typings are provided.
There is not any other SOCKS proxy client library on npm that supports all three variants of the SOCKS protocol. Nor are there any that support the BIND and associate features that some versions of the SOCKS protocol supports.
## Installing:
`yarn add socks`
Key Features:
* Supports SOCKS 4, 4a, and 5 protocols
* Supports the connect method (simple tcp connections of SOCKS) (Client -> SOCKS Server -> Target Server)
* Supports the BIND method (4, 4a, 5)
* Supports the associate (UDP forwarding) method (5)
* Simple and easy to use (one function call to make any type of SOCKS connection)
or
## Installing:
`npm install socks`

@@ -23,0 +21,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc