canirequire › No JS entry point › eslint-plugin-storybook
Is eslint-plugin-storybook ESM-only? Can you require() it?
Storybook ESLint Plugin: Best practice rules for writing stories
Last verified Sep 9, 2026 against eslint-plugin-storybook@10.6.0. JSON
No JS entry point No JavaScript entry point
eslint-plugin-storybook 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 eslint-plugin-storybook@10.6.0 actually load? Runtime test results
Installed and executed on Sep 9, 2026 with require("eslint-plugin-storybook") from a CommonJS file and import "eslint-plugin-storybook" from an ES module.
| Runtime | require("eslint-plugin-storybook") | import "eslint-plugin-storybook" |
|---|---|---|
| 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 eslint-plugin-storybook
ES modules (import)
import eslintPluginStorybook from "eslint-plugin-storybook";CommonJS (require)
Not applicable.
Module format by version
Derived from the type, main and exports fields of every stable release on npm (168 versions; the newest 60 shown).
| Versions | Format | First published |
|---|---|---|
| 10.3.0 – 10.6.0 | No JS entry point | Mar 18, 2026 |
| 10.0.7 – 10.2.19 | ESM-only | Nov 11, 2025 |
Frequently asked
Is eslint-plugin-storybook ESM-only?
eslint-plugin-storybook@10.6.0 has no importable main entry. eslint-plugin-storybook 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 eslint-plugin-storybook work in Bun?
Yes. import "eslint-plugin-storybook" loaded successfully in Bun 1.4 on Sep 9, 2026.
Does eslint-plugin-storybook ship TypeScript types?
Yes. eslint-plugin-storybook bundles its own type declarations; no @types package is needed.
Links
Other no js entry point packages
- type-fest 5.9.0No entry
- eslint-config-next 16.3.4No entry
- storybook 10.6.0No entry
- @storybook/addon-docs 10.6.0No entry
- @storybook/addon-a11y 10.6.0No entry
- tsup 8.5.1No entry
- typedoc 0.28.20No entry
- normalize.css 8.0.1No entry
Similar popularity
- lit 3.3.3ESM-only
- babel-core 6.26.3CommonJS
- esm 3.2.25CommonJS
- less-loader 13.0.0Dual
- react-select 5.10.2Dual
- mongoose 9.9.5CommonJS
- ncp 2.0.0CommonJS
- electron 44.3.0CommonJS