Home / npm packages / socks

socks source code

Every file of socks@2.8.10 as published on npm: 25 files, 122 KB. Search them by exact text or regex, in milliseconds.

It uses: none of the APIs we check for.

What socks uses

APIIn socks
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
NoWho does
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
build/client/socksclient.js36 KB
README.md23 KB
docs/examples/typescript/connectExample.md7.7 KB
docs/examples/javascript/connectExample.md7.6 KB
build/common/constants.js7.6 KB
build/common/helpers.js6.8 KB
typings/client/socksclient.d.ts6.1 KB
typings/common/constants.d.ts4.7 KB
docs/examples/typescript/associateExample.md3.3 KB
docs/examples/javascript/associateExample.md3.3 KB
docs/examples/typescript/bindExample.md2.8 KB
docs/examples/javascript/bindExample.md2.8 KB
docs/migratingFromV1.md2.6 KB
package.json1.6 KB
build/common/receivebuffer.js1.5 KB
LICENSE1.1 KB
build/index.js846 B
typings/common/helpers.d.ts829 B
build/common/util.js675 B
typings/common/util.d.ts484 B
docs/examples/index.md354 B
typings/common/receiveBuffer.d.ts314 B
docs/index.md129 B
.prettierrc.yaml124 B
typings/index.d.ts38 B

Questions

How many files are in socks?

Version 2.8.10 of socks publishes 25 files of source, 122 KB in all, not counting images, fonts and source maps.

Does socks use eval?

No: socks doesn't call eval() anywhere in its published files.

Does socks start other programs?

No: socks doesn't use child_process anywhere in its published files.

Does socks run an install script?

No: socks has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine