
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@storybook/core
Advanced tools
The @storybook/core package is the core of Storybook. It is responsible for the following:
This package is not intended to be used by anyone but storybook internally.
Even though this is where all of the code is located, it is NOT to be the entry point when using functionality within!
Consumers of the code should import like so:
import { addons } from 'storybook/internal/manager-api';
Importing from @storybook/core is explicitly NOT supported; it WILL break in a future version of storybook, very likely in a non-major version bump.
@storybook/coreIn the following packages you should import from @storybook/core (and ONLY from @storybook/core):
@storybook/core@storybook/codemodTo prevent cyclical dependencies, these packages cannot depend on the storybook package.
storybook/internalIn every other package you should import from storybook/internal (and ONLY from storybook/internal).
The heuristic is simple:
If you see a peerDependency on
storybookin thepackage.jsonof the package you are working on, you should import fromstorybook/internal.
storybook package itselfThe sole exception is the storybook package itself.
Obviously, the storybook package cannot depend on itself, so it must import from @storybook/core.
Docz is a documentation tool that uses MDX to help you write documentation and build component libraries. It's similar to Storybook in that it focuses on components but differs in its approach by leveraging Markdown and providing a more documentation-oriented experience.
FAQs
Storybook framework-agnostic API
The npm package @storybook/core receives a total of 3,737,719 weekly downloads. As such, @storybook/core popularity was classified as popular.
We found that @storybook/core 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.