Home / npm packages / @storybook/react

@storybook/react source code

Every file of @storybook/react@10.6.1 as published on npm: 39 files, 1.5 MB. Search them by exact text or regex, in milliseconds.

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

What @storybook/react uses

APIIn @storybook/react
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/_node-chunks/chunk-4XQDKEGR.js
See the lines
child_process
starts other programs
Yes: 1 file
e.g. dist/_node-chunks/chunk-4XQDKEGR.js
See the lines
process.env
reads environment variables
Yes: 4 files
e.g. dist/_browser-chunks/chunk-7HUHAOMV.js
See the lines
the fs module
reads and writes files
Yes: 1 file
e.g. dist/_node-chunks/chunk-4XQDKEGR.js
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
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
dist/_node-chunks/chunk-4XQDKEGR.js900 KB
dist/_browser-chunks/chunk-5GZAZJC7.js408 KB
dist/chunk-ojHmM-yX.d.ts40 KB
dist/_browser-chunks/chunk-B3FR4PBN.js37 KB
dist/preset.js29 KB
dist/_browser-chunks/chunk-7HUHAOMV.js7.3 KB
dist/_browser-chunks/chunk-CS62LUFX.js6.5 KB
dist/index.d.ts4.9 KB
dist/docgen/docgen-worker.js3.3 KB
package.json3.1 KB
template/cli/ts/Page.tsx2.6 KB
template/cli/js/Page.jsx2.5 KB
dist/index.js2.2 KB
template/cli/js/Header.jsx1.6 KB
template/cli/ts/Header.tsx1.5 KB
dist/_browser-chunks/chunk-UAWMPV5J.js1.5 KB
template/cli/ts/Button.stories.ts1.4 KB
template/cli/js/Button.stories.js1.3 KB
template/cli/ts/Page.stories.ts1.0 KB
template/cli/js/Button.jsx984 B
template/cli/ts/Button.tsx888 B
template/cli/js/Page.stories.js887 B
dist/_browser-chunks/chunk-64GECWYS.js886 B
template/cli/ts/Header.stories.ts788 B
template/cli/js/Header.stories.js631 B
dist/preview.js379 B
dist/entry-preview.js359 B
template/stories/docgen-components/js-proptypes/ext.js325 B
template/components/index.js308 B
dist/entry-preview-docs.js297 B

Questions

How many files are in @storybook/react?

Version 10.6.1 of @storybook/react publishes 39 files of source, 1.5 MB in all, not counting images, fonts and source maps.

Does @storybook/react use eval?

No: @storybook/react doesn't call eval() anywhere in its published files.

Does @storybook/react start other programs?

Yes: @storybook/react uses child_process in 1 of its files.

Does @storybook/react run an install script?

No: @storybook/react 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