# @eslint-community/eslint-utils

> Utilities for ESLint plugins.

Latest version **4.10.1** (published 2026-07-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @eslint-community/eslint-utils
pnpm add @eslint-community/eslint-utils
yarn add @eslint-community/eslint-utils
bun add @eslint-community/eslint-utils
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.10.1 |
| Published | 2026-07-22 |
| First published | 2022-11-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^12.22.0 \|\| ^14.17.0 \|\| >=16.0.0 |
| Dependencies | 1 |
| Unpacked size | 494.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 25 |
| Author | Toru Nagashima |
| Maintainers | eslint-community-bot, michaeldeboey |
| Keywords | eslint |

## Links

- npm: https://www.npmjs.com/package/@eslint-community/eslint-utils
- Repository: https://github.com/eslint-community/eslint-utils
- Homepage: https://github.com/eslint-community/eslint-utils#readme
- Issues: https://github.com/eslint-community/eslint-utils/issues
- Funding: https://opencollective.com/eslint
- npm.io page: https://npm.io/package/@eslint-community/eslint-utils

## Dependencies (1)

- [eslint-visitor-keys](https://npm.io/package/eslint-visitor-keys.md) ^3.4.3

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 4.10.1 (latest) — 2026-07-22
- 5.0.0-alpha.5 (alpha) — 2026-07-22
- 4.0.0-beta.1 (beta) — 2022-11-26
- 5.0.0-alpha.4 — 2026-07-22
- 4.10.0 — 2026-07-22
- 5.0.0-alpha.3 — 2026-01-11
- 5.0.0-alpha.2 — 2026-01-02
- 4.9.1 — 2025-12-31
- 4.9.0 — 2025-09-08
- 4.8.0 — 2025-09-03
- 4.7.0 — 2025-05-02
- 4.6.1 — 2025-04-16
- 4.6.0 — 2025-04-12
- 4.5.1 — 2025-03-13
- 4.5.0 — 2025-03-11
- … 14 more at https://npm.io/package/@eslint-community/eslint-utils/versions

## README

# @eslint-community/eslint-utils

[![npm version](https://img.shields.io/npm/v/@eslint-community/eslint-utils.svg)](https://www.npmjs.com/package/@eslint-community/eslint-utils)
[![Downloads/month](https://img.shields.io/npm/dm/@eslint-community/eslint-utils.svg)](http://www.npmtrends.com/@eslint-community/eslint-utils)
[![Build Status](https://github.com/eslint-community/eslint-utils/workflows/CI/badge.svg)](https://github.com/eslint-community/eslint-utils/actions)
[![Coverage Status](https://codecov.io/gh/eslint-community/eslint-utils/branch/main/graph/badge.svg)](https://codecov.io/gh/eslint-community/eslint-utils)

## 🏁 Goal

This package provides utility functions and classes for make ESLint custom rules.

For examples:

-   [`getStaticValue`](https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue) evaluates static value on AST.
-   [`ReferenceTracker`](https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class) checks the members of modules/globals as handling assignments and destructuring.

## 📖 Usage

See [documentation](https://eslint-community.github.io/eslint-utils).

## 📰 Changelog

See [releases](https://github.com/eslint-community/eslint-utils/releases).

## ❤️ Contributing

Welcome contributing!

Please use GitHub's Issues/PRs.

### Development Tools

-   `npm run test-coverage` runs tests and measures coverage.
-   `npm run clean` removes the coverage result of `npm run test-coverage` command.
-   `npm run coverage` shows the coverage result of the last `npm run test-coverage` command.
-   `npm run lint` runs ESLint.
-   `npm run watch` runs tests on each file change.

---
_Source: https://npm.io/package/@eslint-community/eslint-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
