canirequire

canirequireNo JS entry point › @storybook/addon-links

Is @storybook/addon-links ESM-only? Can you require() it?

Storybook Links: Link stories together to build demos and prototypes with your UI components

Last verified Sep 9, 2026 against @storybook/addon-links@10.6.0. JSON

No JS entry point No JavaScript entry point

@storybook/addon-links does not expose a JavaScript entry point in package.json. It is likely a CLI, a stylesheet, a type-definition package, or an asset bundle, so require() and import are not the way to use it.

Latest
10.6.0 (Sep 2, 2026)
Module format
No JS entry point
Last CommonJS version
9.1.20
Native ESM since
7.0.0
TypeScript types
Bundled
Node engines
not declared
License
MIT

Does @storybook/addon-links@10.6.0 actually load? Runtime test results

Installed and executed on Sep 9, 2026 with require("@storybook/addon-links") from a CommonJS file and import "@storybook/addon-links" from an ES module.

Runtimerequire("@storybook/addon-links")import "@storybook/addon-links"
Node.js 18✗ failsERR_REQUIRE_ESM✓ works
Node.js 20✓ works✓ works
Node.js 22✓ works✓ works
Node.js 24✓ works✓ works
Node.js 26✓ works✓ works
Bun 1.4✓ works✓ works

A failing require() on a CommonJS package usually means the package needs a browser/DOM global, a peer dependency, or a native binary that is not available in a bare Node.js process.

How to import @storybook/addon-links

ES modules (import)

import addonLinks from "@storybook/addon-links";

CommonJS (require)

Not applicable.

Module format by version

Derived from the type, main and exports fields of every stable release on npm (489 versions; the newest 60 shown).

VersionsFormatFirst published
10.3.0 – 10.6.0No JS entry pointMar 18, 2026
10.0.7 – 10.2.19ESM-onlyNov 11, 2025

Frequently asked

Is @storybook/addon-links ESM-only?

@storybook/addon-links@10.6.0 has no importable main entry. @storybook/addon-links does not expose a JavaScript entry point in package.json. It is likely a CLI, a stylesheet, a type-definition package, or an asset bundle, so require() and import are not the way to use it.

Does @storybook/addon-links work in Bun?

Yes. import "@storybook/addon-links" loaded successfully in Bun 1.4 on Sep 9, 2026.

Does @storybook/addon-links ship TypeScript types?

Yes. @storybook/addon-links bundles its own type declarations; no @types package is needed.

Links

Other no js entry point packages

Similar popularity