
Security News
Open VSX Begins Implementing Pre-Publish Security Checks After Repeated Supply Chain Incidents
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.
@storybook/cli
Advanced tools
Storybook CLI (Command Line Interface) is the easiest way to add Storybook to your project.

Go to your project and run:
cd my-app
npx storybook@latest init
In addition to init, the CLI also has other commands:
add - add an addon and register itinfo - print out system information for bug reportsupgrade - upgrade to the latest version of Storybook (or a specific version)migrate - run codemods to migrate your codeSee the command-line help with -h (including other useful commands) for details.
This package has multiple sub-exports to can be used to gain access to storybook's APIs.
storybook/componentsThis export contains a list of components very useful for building out addons. We recommend addon-authors to use these components to ensure a consistent look and feel, and to reduce the amount of code they need to write.
storybook/themingThis export exposes a few utility functions to help writing components that automatically adapt to the current theme. Useful for addon authors who want to make their addons theme-aware.
storybook/preview-apiThis export contains the API that is available in the preview iframe.
storybook/manager-apiThis export contains the API that is available in the manager iframe.
storybook/typesThis export exposes a lot of TypeScript interfaces used throughout storybook, including for storybook configuration, addons etc.
Learn more about Storybook at storybook.js.org.
Similar to @storybook/cli, react-scripts is used in the setup and configuration of React applications created with Create React App. It abstracts complex configurations for Babel, Webpack, and other tools. However, it does not specifically focus on component development environments like Storybook.
Angular CLI is a command-line interface tool that is used to initialize, develop, scaffold, and maintain Angular applications directly. It provides a similar ease of setup for Angular projects as @storybook/cli does for setting up Storybook in Angular projects.
Vue CLI is a full system for rapid Vue.js development, similar to Angular CLI for Angular. It provides project scaffolding, development tools, and build optimizations. It is similar to @storybook/cli in that it helps in setting up a development environment but is focused on Vue.js applications rather than component libraries.
FAQs
Storybook CLI: Develop, document, and test UI components in isolation
The npm package @storybook/cli receives a total of 1,424,194 weekly downloads. As such, @storybook/cli popularity was classified as popular.
We found that @storybook/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.