Home / npm packages / webpack-dev-middleware

webpack-dev-middleware source code

Every file of webpack-dev-middleware@8.3.0 as published on npm: 22 files, 269 KB. Search them by exact text or regex, in milliseconds.

It uses: new Function(), the fs module, http / https, fetch(), crypto.

What webpack-dev-middleware uses

APIIn webpack-dev-middleware
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 1 file
e.g. client/index.js
See the lines
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
Yes: 2 files
e.g. dist/index.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 1 file
e.g. README.md
See the lines
fetch()
makes HTTP requests
Yes: 1 file
e.g. client/overlay.js
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
Yes: 1 file
e.g. dist/utils.js
See the lines
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
README.md46 KB
dist/index.js36 KB
dist/middleware.js32 KB
client/overlay.js30 KB
client/index.js24 KB
dist/utils.js18 KB
dist/hot.js17 KB
types/utils.d.ts11 KB
types/index.d.ts11 KB
client/process-update.js8.0 KB
types/hot.d.ts7.9 KB
client/indicator.js7.8 KB
dist/options.json6.9 KB
package.json4.0 KB
types/middleware.d.ts3.4 KB
client/utils/log.js1.4 KB
LICENSE1.1 KB
client/globals.d.ts1.0 KB
client/utils/strip-ansi.js903 B
client/theme.js344 B
client/utils/get-hot.js299 B
client/utils/reload.js171 B

Questions

How many files are in webpack-dev-middleware?

Version 8.3.0 of webpack-dev-middleware publishes 22 files of source, 269 KB in all, not counting images, fonts and source maps.

Does webpack-dev-middleware use eval?

No: webpack-dev-middleware doesn't call eval() anywhere in its published files.

Does webpack-dev-middleware start other programs?

No: webpack-dev-middleware doesn't use child_process anywhere in its published files.

Does webpack-dev-middleware run an install script?

No: webpack-dev-middleware 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