Home / npm packages / socket.io-client

socket.io-client source code

Every file of socket.io-client@4.8.4 as published on npm: 51 files, 511 KB. Search them by exact text or regex, in milliseconds.

It uses: new Function(), process.env, fetch(), XMLHttpRequest.

What socket.io-client uses

APIIn socket.io-client
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 4 files
e.g. dist/socket.io.esm.min.js
See the lines
child_process
starts other programs
NoWho does
process.env
reads environment variables
Yes: 1 file
e.g. dist/socket.io.js
See the lines
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
Yes: 1 file
e.g. dist/socket.io.esm.min.js
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
Yes: 4 files
e.g. dist/socket.io.esm.min.js
See the lines
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
dist/socket.io.js154 KB
dist/socket.io.msgpack.min.js51 KB
dist/socket.io.min.js47 KB
dist/socket.io.esm.min.js41 KB
build/cjs/socket.js27 KB
build/esm-debug/socket.js27 KB
build/esm/socket.js26 KB
build/cjs/socket.d.ts17 KB
build/esm-debug/socket.d.ts17 KB
build/esm/socket.d.ts17 KB
build/cjs/manager.js13 KB
build/esm-debug/manager.js11 KB
build/esm/manager.js11 KB
build/cjs/manager.d.ts7.3 KB
build/esm-debug/manager.d.ts7.3 KB
build/esm/manager.d.ts7.3 KB
build/cjs/index.js3.3 KB
package.json2.9 KB
build/cjs/url.js2.2 KB
build/esm-debug/url.js1.9 KB
build/esm-debug/index.js1.8 KB
build/esm/url.js1.7 KB
build/esm/index.js1.6 KB
build/cjs/contrib/backo2.js1.5 KB
build/esm-debug/contrib/backo2.js1.4 KB
build/esm/contrib/backo2.js1.4 KB
README.md1.1 KB
LICENSE1.1 KB
build/cjs/index.d.ts1.1 KB
build/esm-debug/index.d.ts1.1 KB

Questions

How many files are in socket.io-client?

Version 4.8.4 of socket.io-client publishes 51 files of source, 511 KB in all, not counting images, fonts and source maps.

Does socket.io-client use eval?

No: socket.io-client doesn't call eval() anywhere in its published files.

Does socket.io-client start other programs?

No: socket.io-client doesn't use child_process anywhere in its published files.

Does socket.io-client run an install script?

No: socket.io-client 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