Skip to content
PluginStats

@eslint/plugin-kit weekly downloads statistics

By eslint (7 listings) · npm · ESLint plugins

Utilities for building ESLint plugins.

View on npm Fresh · Dec 6, 2026

@eslint/plugin-kit has 170,258,459 recorded weekly downloads on npm, an increase of 10.1% over the past 30 days, ranking #3 of 3,247 tracked listings.

Weekly downloads
170,258,459
Official API · Dec 5, 2026
7-day growth
+13.1%
+19.7M weekly downloads
30-day growth
+10.1%
+15.6M weekly downloads
90-day growth
+70.9%
+70.7M weekly downloads
Rank
#3
▲ 1 in 7 days

About @eslint/plugin-kit

ESLint Plugin Kit

Description

A collection of utilities to help build ESLint plugins.

Installation

For Node.js and compatible runtimes:

npm install @eslint/plugin-kit
# or
yarn add @eslint/plugin-kit
# or
pnpm install @eslint/plugin-kit
# or
bun add @eslint/plugin-kit

For Deno:

deno add @eslint/plugin-kit

Usage

This package exports the following utilities:

ConfigCommentParser

To use the ConfigCommentParser class, import it from the package and create a new instance, such as:

import { ConfigCommentParser } from "@eslint/plugin-kit";

// create a new instance
const commentParser = new ConfigCommentParser();

// pass in a comment string without the comment delimiters
const directive = commentParser.parseDirective(
	"eslint-disable prefer-const, no-var -- I don't want to use these.",
);

// will be undefined when a directive can't be parsed
if (directive) {
	console.log(directive.label); // "eslint-disable"
	console.log(directive.value); // "prefer-const, no-var"
	console.log(directive.justification); // "I don't want to use these."
}

There are different styles of directive values that you'll need to parse separately to get the correct format:

import { ConfigCommentParser } from "@eslint/plugin-kit";

// create a new instance
const commentParser = new ConfigCommentParser();

// list format
const list = commentParser.parseListConfig("prefer-const, no-var");
console.log(Object.entries(list)); // [["prefer-const", true], ["no-var", true]]

// string format
const strings = commentParser.parseStringConfig("foo:off, bar");
console.log(Object.entries(strings)); // [["foo", "off"], ["bar", null]]

// JSON-like config format
const jsonLike = commentParser.parseJSONLikeConfig(
	"radix:[error, always], prefer-const: warn",
);
console.log(Object.entries(jsonLike.config)); // [["radix", ["error", "always"]], ["prefer-const", "warn"]]
VisitNodeStep and CallMethodStep

The VisitNodeStep and CallMethodStep classes represent steps in the traversal of source code. They implement the correct interfaces to return from the SourceCode#traverse() method.

The VisitNodeStep class is the more common of the two, where you are describing a visit to a particular node during the traversal. The constructor accepts three arguments:

  • target - the node being visited. This is used to determine the method to call inside of a rule. For instance, if the node's type is Literal then ESLint will call a method named Literal() on the rule (if present).
  • phase - either 1 for enter or 2 for exit.
  • args - an array of arguments to pass into the visitor method of a rule.

For example:

import { VisitNodeStep } from "@eslint/plugin-kit";

class MySourceCode {
	traverse() {
		const steps = [];

		for (const { node, parent, phase } of iterator(this.ast)) {
			steps.push(
				new VisitNodeStep({
					target: node,
					phase: phase === "enter" ? 1 : 2,
					args: [node, parent],
				}),
			);
		}

		return steps;
	}
}

The CallMethodStep class is less common and is used to tell ESLint to call a specific method on the rule. The constructor accepts two arguments:

  • target - the name of the method to call, frequently beginning with "on" such as "onCodePathStart".
  • args - an array of arguments to pass to the method.

For example:

import { VisitNodeStep, CallMethodStep } from "@eslint/plugin-kit";

class MySourceCode {
    traverse() {
        const steps = [];

        for (const { node, parent, phase } of iterator(this.ast)) {
            steps.push(
                new VisitNodeStep({
                    target: node,
                    phase: phase === "enter" ? 1 : 2,
                    args: [node, parent],
                }),
            );

            // call a method indicating how many times we've been through the loop
            steps.push(
                new CallMethodStep({
                    target: "onIteration",
                    args: [steps.length]
                });
            )
        }

        return steps;
    }
}
Directive

The Directive class represents a disable directive in the source code and implements the Directive interface from @eslint/core. You can tell ESLint about disable directives using the SourceCode#getDisableDirectives() method, where part of the return value is an array of Directive objects. Here's an example:

import { Directive, ConfigCommentParser } from "@eslint/plugin-kit";

class MySourceCode {
	getDisableDirectives() {
		const directives = [];
		const problems = [];
		const commentParser = new ConfigCommentParser();

		// read in the inline config nodes to check each one
		this.getInlineConfigNodes().forEach(comment => {
			// Step 1: Parse the directive
			const { label, value, justification } =
				commentParser.parseDirective(comment.value);

			// Step 2: Extract the directive value and create the `Directive` object
			switch (label) {
				case "eslint-disable":
				case "eslint-enable":
				case "eslint-disable-next-line":
				case "eslint-disable-line": {
					const directiveType = label.slice("eslint-".length);

					directives.push(
						new Directive({
							type: directiveType,
							node: comment,
							value,
							justification,
						}),
					);
				}

				// ignore any comments that don't begin with known labels
			}
		});

		return {
			directives,
			problems,
		};
	}
}
TextSourceCodeBase…

Description from the npm listing.

  • eslint
  • eslintplugin
  • eslint-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@eslint/plugin-kit weekly downloads on npm, last 90 days: 170,258,459 weekly downloads as of Dec 5, 2026, +70.9% over 90 days.@eslint/plugin-kitWeekly downloads on npm · Last 90 days170,258,459downloads / week+70.9% over 90 days020M40M60M80M100M120M140M160M180MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@eslint/plugin-kit weekly downloads on npm, last 90 days: 170,258,459 weekly downloads as of Dec 5, 2026, +70.9% over 90 days.

7/30/90-day growth

@eslint/plugin-kit weekly downloads growth on npm: +13.1% over 7 days, +10.1% over 30 days, +70.9% over 90 days.@eslint/plugin-kitWeekly downloads growth on npm170,258,459downloads / week now7-day growth+19,732,191 weekly downl…+13.1%30-day growth+15,620,774 weekly downl…+10.1%90-day growth+70,659,257 weekly downl…+70.9%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@eslint/plugin-kit weekly downloads growth on npm: +13.1% over 7 days, +10.1% over 30 days, +70.9% over 90 days.

Ranking history

@eslint/plugin-kit npm ranking history: currently #3 (by weekly downloads).@eslint/plugin-kitnpm ranking · by weekly downloads · Last 90 days#3current rank#1#2#3#4#5#6Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@eslint/plugin-kit npm ranking history: currently #3 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 1, #3 (overall #3)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins290 listings · 15 pages · page 1, #2 (overall #2)
ESLint plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for @eslint/plugin-kit
Date (UTC)Weekly downloadsChange vs. previous
170,258,459+2.2M
168,088,741+5.9M
162,206,381+5.9M
156,293,448+3.2M
153,101,488+3.2M
149,865,685-92.8K
149,958,528-567.7K
150,526,268-1.6M
152,164,292-4.2M
156,383,062-4.9M
161,238,852-2.8M
164,012,179-1.7M
165,678,416-1.3M
166,942,611—

Similar npm ESLint plugins plugins

All 20 @eslint/plugin-kit alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@eslint/plugin-kit. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.