canirequire › No JS entry point › @eslint/core
Is @eslint/core ESM-only? Can you require() it?
Runtime-agnostic core of ESLint
Last verified Sep 9, 2026 against @eslint/core@1.2.1. JSON
No JS entry point No JavaScript entry point
@eslint/core 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/core@1.2.1 actually load? Runtime test results
Installed and executed on Sep 9, 2026 with require("@eslint/core") from a CommonJS file and import "@eslint/core" from an ES module.
| Runtime | require("@eslint/core") | import "@eslint/core" |
|---|---|---|
| Node.js 18 | ✗ failsERR_PACKAGE_PATH_NOT_EXPORTED | ✗ failsERR_PACKAGE_PATH_NOT_EXPORTED |
| Node.js 20 | ✗ failsERR_PACKAGE_PATH_NOT_EXPORTED | ✗ failsERR_PACKAGE_PATH_NOT_EXPORTED |
| Node.js 22 | ✗ failsERR_PACKAGE_PATH_NOT_EXPORTED | ✗ failsERR_PACKAGE_PATH_NOT_EXPORTED |
| Node.js 24 | ✗ failsERR_PACKAGE_PATH_NOT_EXPORTED | ✗ failsERR_PACKAGE_PATH_NOT_EXPORTED |
| Node.js 26 | ✗ failsERR_PACKAGE_PATH_NOT_EXPORTED | ✗ failsERR_PACKAGE_PATH_NOT_EXPORTED |
| Bun 1.4 | ✗ failserror: Cannot find module '@eslint/core' from '/Users/boat/Projects/top-seo/data/probe-work/@eslint__core/req.cjs' | ✗ failserror: Cannot find module '@eslint/core' from '/Users/boat/Projects/top-seo/data/probe-work/@eslint__core/imp.mjs' |
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/core
ES modules (import)
import core from "@eslint/core";CommonJS (require)
Not applicable.
Module format by version
Derived from the type, main and exports fields of every stable release on npm (26 versions; the newest 26 shown).
| Versions | Format | First published |
|---|---|---|
| 0.4.0 – 1.2.1 | No JS entry point | Aug 12, 2024 |
| 0.1.0 – 0.3.0 | ESM-only | Jun 26, 2024 |
Frequently asked
Is @eslint/core ESM-only?
@eslint/core@1.2.1 has no importable main entry. @eslint/core 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/core work in Bun?
Importing @eslint/core failed in Bun 1.4 on Sep 9, 2026: error: Cannot find module '@eslint/core' from '/Users/boat/Projects/top-seo/data/probe-work/@eslint__core/imp.mjs'
Does @eslint/core ship TypeScript types?
Yes. @eslint/core 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
- eslint-plugin-storybook 10.6.0No entry
- tsup 8.5.1No entry
- typedoc 0.28.20No entry
Similar popularity
- @jest/schemas 30.5.0Dual
- @typescript-eslint/tsconfig-utils 8.70.0CommonJS
- @isaacs/cliui 9.0.0Dual
- @aws-sdk/types 3.974.5CommonJS
- @rollup/rollup-linux-x64-musl 4.63.1CommonJS
- @typescript-eslint/scope-manager 8.70.0CommonJS
- @typescript-eslint/project-service 8.70.0CommonJS
- @nodelib/fs.scandir 4.0.1CommonJS