Home / npm packages / next

next source code

Every file of next@16.3.8 as published on npm: 5,758 files, 55.9 MB (the numbers below cover its first 3,000). Search them by exact text or regex, in milliseconds.

It uses: eval(), new Function(), child_process, process.env, the fs module, http / https, fetch(), XMLHttpRequest, crypto, WebAssembly, document.cookie.

What next uses

APIIn next
eval()
runs a string as JavaScript
Yes: 28 files
e.g. dist/compiled/sass-loader/cjs.js
See the lines
new Function()
builds a function from a string, like eval (with or without new)
Yes: 13 files
e.g. dist/bundle-analyzer/_next/static/chunks/03~yq9q893hmn.js
See the lines
child_process
starts other programs
Yes: 24 files
e.g. dist/esm/lib/helpers/get-npx-command.js
See the lines
process.env
reads environment variables
Yes: 720 files
e.g. dist/bin/next
See the lines
the fs module
reads and writes files
Yes: 230 files
e.g. dist/compiled/postcss-preset-env/index.cjs
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 18 files
e.g. dist/compiled/@vercel/blob/index.cjs
See the lines
fetch()
makes HTTP requests
Yes: 86 files
e.g. dist/compiled/@vercel/blob/index.cjs
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
Yes: 8 files
e.g. dist/compiled/@vercel/blob/index.cjs
See the lines
crypto
hashes, encrypts or makes random numbers
Yes: 103 files
e.g. dist/compiled/@vercel/blob/index.cjs
See the lines
WebAssembly
loads WebAssembly code
Yes: 14 files
e.g. dist/compiled/@vercel/blob/index.cjs
See the lines
document.cookie
reads or writes browser cookies
Yes: 13 files
e.g. dist/compiled/next-server/app-page-experimental.runtime.prod.js
See the lines
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/compiled/@vercel/og/index.node.js872 KB
dist/compiled/next-devtools/index.js863 KB
dist/compiled/@next/font/dist/fontkit/index.js815 KB
dist/compiled/@edge-runtime/primitives/load.js801 KB
dist/compiled/@edge-runtime/primitives/fetch.js797 KB
dist/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js767 KB
dist/compiled/@vercel/og/index.edge.js735 KB
dist/compiled/next-server/app-page-experimental.runtime.prod.js711 KB
dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js710 KB
dist/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js702 KB
dist/compiled/next-server/app-page.runtime.prod.js702 KB
dist/compiled/next-server/app-page-turbo.runtime.prod.js701 KB
dist/compiled/react-dom/cjs/react-dom-profiling.profiling.js691 KB
dist/compiled/react-dom-experimental/cjs/react-dom-client.production.js688 KB
dist/compiled/react-dom/cjs/react-dom-client.production.js617 KB
dist/compiled/next-server/dev-validation-worker-turbo-experimental.runtime.dev.js596 KB
dist/compiled/next-server/dev-validation-worker-experimental.runtime.dev.js596 KB
dist/compiled/next-server/dev-validation-worker-turbo.runtime.dev.js583 KB
dist/compiled/next-server/dev-validation-worker.runtime.dev.js583 KB
dist/compiled/edge-runtime/index.js526 KB
dist/compiled/terser/bundle.min.js517 KB
dist/bundle-analyzer/_next/static/chunks/0u_y6vsc_oa5w.js479 KB
dist/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js476 KB
dist/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js470 KB
dist/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js469 KB
dist/compiled/@vercel/blob/index.cjs467 KB
dist/compiled/react-dom/cjs/react-dom-server.node.development.js458 KB
dist/compiled/react-dom/cjs/react-dom-server.edge.development.js451 KB
dist/compiled/react-dom/cjs/react-dom-server.browser.development.js451 KB
dist/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js436 KB

Questions

How many files are in next?

Version 16.3.8 of next publishes 5,758 files of source, 55.9 MB in all (the numbers below cover its first 3,000), not counting images, fonts and source maps.

Does next use eval?

Yes: next calls eval() in 28 of its files.

Does next start other programs?

Yes: next uses child_process in 24 of its files.

Does next run an install script?

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