Home / npm packages / rollup

rollup source code

Every file of rollup@4.64.0 as published on npm: 28 files, 2.9 MB. Search them by exact text or regex, in milliseconds.

It uses: new Function(), child_process, process.env, the fs module, XMLHttpRequest.

What rollup uses

APIIn rollup
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. dist/shared/loadConfigFile.js
See the lines
child_process
starts other programs
Yes: 4 files
e.g. dist/native.js
See the lines
process.env
reads environment variables
Yes: 4 files
e.g. dist/bin/rollup
See the lines
the fs module
reads and writes files
Yes: 11 files
e.g. dist/bin/rollup
See the lines
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
Yes: 2 files
e.g. dist/es/shared/node-entry.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/es/shared/node-entry.js982 KB
dist/shared/rollup.js980 KB
dist/es/shared/watch.js266 KB
dist/shared/index.js254 KB
dist/shared/parseAst.js95 KB
dist/bin/rollup88 KB
dist/es/shared/parseAst.js86 KB
dist/rollup.d.ts36 KB
LICENSE.md35 KB
dist/shared/loadConfigFile.js23 KB
dist/shared/watch-cli.js19 KB
dist/shared/watch.js13 KB
package.json13 KB
README.md10.0 KB
dist/native.js5.5 KB
dist/shared/node-entry.js5.3 KB
dist/getLogFilter.js2.3 KB
dist/es/getLogFilter.js2.2 KB
dist/shared/fsevents-importer.js884 B
dist/rollup.js778 B
dist/loadConfigFile.js705 B
dist/parseAst.js506 B
dist/loadConfigFile.d.ts471 B
dist/es/rollup.js430 B
dist/es/parseAst.js293 B
dist/getLogFilter.d.ts171 B
dist/parseAst.d.ts134 B
dist/es/package.json17 B

Questions

How many files are in rollup?

Version 4.64.0 of rollup publishes 28 files of source, 2.9 MB in all, not counting images, fonts and source maps.

Does rollup use eval?

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

Does rollup start other programs?

Yes: rollup uses child_process in 4 of its files.

Does rollup run an install script?

No: rollup 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