Home / npm packages / storybook

storybook source code

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

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

What storybook uses

APIIn storybook
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 4 files
e.g. dist/_browser-chunks/chunk-MOVZJCSM.js
See the lines
child_process
starts other programs
Yes: 9 files
e.g. dist/_node-chunks/chunk-563U7QZ2.js
See the lines
process.env
reads environment variables
Yes: 30 files
e.g. dist/_browser-chunks/WithTooltip-CDUNV5IS.js
See the lines
the fs module
reads and writes files
Yes: 30 files
e.g. dist/_node-chunks/attached-runtime-VYAXJHHU.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
Yes: 2 files
e.g. dist/chunk-BqJXeo8A.d.ts
See the lines
fetch()
makes HTTP requests
Yes: 12 files
e.g. dist/_browser-chunks/chunk-M6YZR3ZW.js
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
Yes: 1 file
e.g. dist/_node-chunks/chunk-A5M3SXLF.js
See the lines
crypto
hashes, encrypts or makes random numbers
Yes: 7 files
e.g. dist/_node-chunks/chunk-A5M3SXLF.js
See the lines
WebAssembly
loads WebAssembly code
Yes: 1 file
e.g. dist/_node-chunks/chunk-A5M3SXLF.js
See the lines
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-A5M3SXLF.js987 KB
dist/chunk-BqJXeo8A.d.ts913 KB
dist/core-server/index.js753 KB
dist/components/index.js717 KB
dist/chunk-wK3zEWUl.d.ts679 KB
dist/test/index.js647 KB
dist/chunk-Dv2j21_S.d.ts476 KB
dist/_node-chunks/chunk-2T3YLLG3.js350 KB
dist/_node-chunks/chunk-IB76RXWM.js314 KB
dist/core-server/presets/common-manager.js297 KB
dist/_node-chunks/chunk-SBUBXPQW.js280 KB
dist/bin/core.js221 KB
dist/_node-chunks/chunk-E4VM4MZZ.js205 KB
dist/_browser-chunks/syntaxhighlighter-4REYKNEV.js176 KB
dist/_node-chunks/chunk-Y7JK5M64.js176 KB
dist/core-server/index.d.ts173 KB
dist/_node-chunks/globby-LXD4YOIK.js154 KB
dist/_browser-chunks/chunk-M6YZR3ZW.js145 KB
dist/manager-api/index.js141 KB
dist/babel/index.d.ts128 KB
dist/_browser-chunks/chunk-QGGIYUMM.js126 KB
dist/_browser-chunks/chunk-RDNWKK3U.js117 KB
dist/_node-chunks/chunk-XK4IYTRY.js112 KB
dist/core-server/presets/common-preset.js95 KB
dist/_node-chunks/chunk-CHL6KPCT.js90 KB
dist/_node-chunks/chunk-XVJD7D22.js85 KB
dist/theming/index.js83 KB
dist/csf/index.js81 KB
dist/_browser-chunks/WithTooltip-CDUNV5IS.js79 KB
dist/components/index.d.ts72 KB

Questions

How many files are in storybook?

Version 10.6.1 of storybook publishes 249 files of source, 11.1 MB in all, not counting images, fonts and source maps.

Does storybook use eval?

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

Does storybook start other programs?

Yes: storybook uses child_process in 9 of its files.

Does storybook run an install script?

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