# Is @vue/eslint-config-standard ESM-only? Can you require() it?

> @vue/eslint-config-standard@9.0.1 is ESM-only. ESM-only since 9.0.0 — last CommonJS version is 8.0.1.

eslint-config-standard for Vue.js projects

Last verified Sep 9, 2026 against @vue/eslint-config-standard@9.0.1.

@vue/eslint-config-standard dropped its CommonJS build in 9.0.0 (January 2025). The last version with a plain require()-able CommonJS entry is 8.0.1, published Jul 27, 2022.

On Node.js 20.19+, 22.12+ and newer, require("@vue/eslint-config-standard") works with the latest version: Node.js loads synchronous ES modules through require(). Verified on Node.js 20, 22, 24 and 26. On Node.js 18, which has no require(esm), require("@vue/eslint-config-standard") fails with ERR_REQUIRE_ESM.

## What to do

1. On Node.js 20.19+, 22.12+ and newer, require("@vue/eslint-config-standard") works with the latest version: Node.js loads synchronous ES modules through require(). Verified on Node.js 20, 22, 24 and 26.
2. From a CommonJS file, use a dynamic import inside an async function: const eslintConfigStandard = await import("@vue/eslint-config-standard"). That works on every Node.js version the package supports.
3. If you need a synchronous require() or run Node.js 18: npm install @vue/eslint-config-standard@8.0.1, the last CommonJS release (published Jul 27, 2022).
4. TypeScript: no types are available for @vue/eslint-config-standard; declare the module yourself if you need them.

## Facts

- Latest: 9.0.1 (Mar 13, 2025)
- Module format: ESM-only
- Last CommonJS version: 8.0.1
- ESM-only since: 9.0.0 (Jan 19, 2025)
- TypeScript types: none
- Node engines: not declared
- Weekly downloads: 101K
- License: MIT

## Runtime test results for @vue/eslint-config-standard@9.0.1

Installed and executed on Sep 9, 2026 with require("@vue/eslint-config-standard") from a CommonJS file and import "@vue/eslint-config-standard" from an ES module.

| Runtime | require("@vue/eslint-config-standard") | import "@vue/eslint-config-standard" |
|---|---|---|
| Node.js 18 | fails (ERR_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.0 | works | works |

## How to import @vue/eslint-config-standard

ES modules:

```js
import * as eslintConfigStandard from "@vue/eslint-config-standard";
```

Namespace import shown because the ESM entry may have no default export; use named imports for what it exports.

CommonJS:

```js
// Node.js 20.19+, 22.12+ and newer (verified):
const eslintConfigStandard = require("@vue/eslint-config-standard");

// Any Node.js version the package supports, from an async function:
async function main() {
  const eslintConfigStandard = await import("@vue/eslint-config-standard");
}

// Or pin the last CommonJS release:
// npm install @vue/eslint-config-standard@8.0.1
```

## Module format by version

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

| Versions | Format | First published |
|---|---|---|
| 9.0.0 – 9.0.1 | ESM-only | Jan 19, 2025 |
| 3.0.0 – 8.0.1 | CommonJS | Aug 10, 2018 |

## Frequently asked

**Is @vue/eslint-config-standard ESM-only?**

@vue/eslint-config-standard@9.0.1 is ESM-only. @vue/eslint-config-standard dropped its CommonJS build in 9.0.0 (January 2025). The last version with a plain require()-able CommonJS entry is 8.0.1, published Jul 27, 2022.

**Which version of @vue/eslint-config-standard still supports CommonJS / require()?**

8.0.1 is the last version of @vue/eslint-config-standard with a CommonJS build. Install it with "npm install @vue/eslint-config-standard@8.0.1". Every version from 9.0.0 on is ESM-only.

**How do I use @vue/eslint-config-standard from a CommonJS file?**

From a CommonJS file, use a dynamic import inside an async function: const eslintConfigStandard = await import("@vue/eslint-config-standard"). That works on every Node.js version the package supports. On Node.js 20.19+, 22.12+ and newer, require("@vue/eslint-config-standard") works with the latest version: Node.js loads synchronous ES modules through require(). Verified on Node.js 20, 22, 24 and 26. Alternatively pin @vue/eslint-config-standard@8.0.1.

**Does @vue/eslint-config-standard work in Bun?**

Yes. import "@vue/eslint-config-standard" loaded successfully in Bun 1.4.0 on Sep 9, 2026.

**Does @vue/eslint-config-standard ship TypeScript types?**

No. @vue/eslint-config-standard ships no type declarations and there is no @types package for it.

## Links

- [@vue/eslint-config-standard on npm](https://www.npmjs.com/package/@vue/eslint-config-standard)
- [Source repository](https://github.com/vuejs/eslint-config-standard)
- [HTML version](https://canirequire.com/package/@vue/eslint-config-standard/)
- [JSON version](https://canirequire.com/package/@vue/eslint-config-standard.json)

---

For scripts and AI agents: any package is at https://canirequire.com/package/<name>/index.md (Markdown) or https://canirequire.com/package/<name>.json (JSON); the site index is https://canirequire.com/llms.txt. Fetch the URL directly; no search needed.
