Home / npm packages / webpack-bundle-analyzer

webpack-bundle-analyzer source code

Every file of webpack-bundle-analyzer@5.4.0 as published on npm: 24 files, 430 KB. Search them by exact text or regex, in milliseconds.

It uses: process.env, the fs module, http / https.

What webpack-bundle-analyzer uses

APIIn webpack-bundle-analyzer
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
Yes: 1 file
e.g. lib/utils.js
See the lines
the fs module
reads and writes files
Yes: 6 files
e.g. lib/analyzer.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 1 file
e.g. lib/viewer.js
See the lines
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
public/viewer.js305 KB
README.md20 KB
lib/analyzer.js17 KB
lib/parseUtils.js17 KB
lib/viewer.js9.8 KB
lib/BundleAnalyzerPlugin.js9.7 KB
lib/template.js5.9 KB
lib/bin/analyzer.js5.5 KB
lib/tree/ConcatenatedModule.js4.9 KB
lib/tree/BaseFolder.js4.9 KB
lib/Logger.js4.5 KB
lib/tree/Folder.js3.9 KB
package.json3.8 KB
lib/tree/Module.js3.8 KB
lib/utils.js2.7 KB
lib/statsUtils.js2.4 KB
lib/tree/ContentFolder.js2.1 KB
lib/tree/ContentModule.js2.0 KB
lib/sizeUtils.js1.1 KB
LICENSE1.1 KB
lib/tree/utils.js970 B
lib/tree/Node.js652 B
public/viewer.js.LICENSE.txt514 B
lib/index.js144 B

Questions

How many files are in webpack-bundle-analyzer?

Version 5.4.0 of webpack-bundle-analyzer publishes 24 files of source, 430 KB in all, not counting images, fonts and source maps.

Does webpack-bundle-analyzer use eval?

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

Does webpack-bundle-analyzer start other programs?

No: webpack-bundle-analyzer doesn't use child_process anywhere in its published files.

Does webpack-bundle-analyzer run an install script?

No: webpack-bundle-analyzer 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