Home / npm packages / react-dev-utils

react-dev-utils source code

Every file of react-dev-utils@12.0.1 as published on npm: 37 files, 111 KB. Search them by exact text or regex, in milliseconds.

It uses: child_process, process.env, the fs module, fetch().

What react-dev-utils uses

APIIn react-dev-utils
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
Yes: 3 files
e.g. getProcessForPort.js
See the lines
process.env
reads environment variables
Yes: 5 files
e.g. eslintFormatter.js
See the lines
the fs module
reads and writes files
Yes: 6 files
e.g. browsersHelper.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
Yes: 2 files
e.g. WebpackDevServerUtils.js
See the lines
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
launchEditor.js19 KB
README.md14 KB
WebpackDevServerUtils.js13 KB
webpackHotDevClient.js8.9 KB
FileSizeReporter.js4.6 KB
openBrowser.js4.4 KB
ModuleNotFoundPlugin.js4.3 KB
formatWebpackMessages.js4.3 KB
printHostingInstructions.js3.7 KB
ModuleScopePlugin.js3.5 KB
eslintFormatter.js2.8 KB
openChrome.applescript2.7 KB
browsersHelper.js2.5 KB
package.json2.4 KB
getPublicUrlOrPath.js2.1 KB
getProcessForPort.js2.0 KB
InlineChunkHtmlPlugin.js1.9 KB
evalSourceMapMiddleware.js1.6 KB
InterpolateHtmlPlugin.js1.4 KB
noopServiceWorkerMiddleware.js1.4 KB
getCSSModuleLocalIdent.js1.3 KB
printBuildError.js1.2 KB
LICENSE1.1 KB
checkRequiredFiles.js856 B
ForkTsCheckerWarningWebpackPlugin.js823 B
redirectServedPathMiddleware.js747 B
errorOverlayMiddleware.js732 B
getCacheIdentifier.js584 B
ignoredFiles.js467 B
refreshOverlayInterop.js447 B

Questions

How many files are in react-dev-utils?

Version 12.0.1 of react-dev-utils publishes 37 files of source, 111 KB in all, not counting images, fonts and source maps.

Does react-dev-utils use eval?

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

Does react-dev-utils start other programs?

Yes: react-dev-utils uses child_process in 3 of its files.

Does react-dev-utils run an install script?

No: react-dev-utils 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