Skip to content
PluginStats

eslint-node-test weekly downloads statistics

By sindresorhus (6 listings) · npm · ESLint plugins

ESLint rules for the Node.js built-in test runner (`node:test`)

View on npm Stale · Oct 18, 2026

eslint-node-test has 29,850 recorded weekly downloads on npm, a decrease of 28.4% over the past 30 days, ranking #693 of 2,322 tracked listings.

Weekly downloads
29,850
Official API · Oct 18, 2026
7-day growth
-45.2%
-24.6K weekly downloads
30-day growth
-28.4%
-11.8K weekly downloads
90-day growth
+31.0%
+7.1K weekly downloads
Rank
#693
Among tracked npm listings

About eslint-node-test

eslint-node-test

ESLint rules for the Node.js built-in test runner (node:test)

This plugin helps you avoid common mistakes and write more consistent tests with node:test, the test runner built into Node.js.

Install

npm install --save-dev eslint eslint-node-test

Requires ESLint >=10.4, flat config, and ESM.

Usage

Use a preset config or configure each rule in eslint.config.js.

import nodeTest from 'eslint-node-test';
import {defineConfig} from 'eslint/config';

export default defineConfig([
	{
		files: [
			'**/*.js'
		],
		plugins: {
			'node-test': nodeTest
		},
		extends: [
			'node-test/recommended'
		]
	}
]);

Or configure rules individually:

import nodeTest from 'eslint-node-test';
import {defineConfig} from 'eslint/config';

export default defineConfig([
	{
		files: [
			'**/*.js'
		],
		plugins: {
			'node-test': nodeTest
		},
		rules: {
			'node-test/no-only-test': 'error',
			'node-test/no-identical-title': 'error'
		}
	}
]);

The example scopes the plugin to JavaScript files. Add TypeScript extensions only when your ESLint config provides a TypeScript parser for them. The rules only activate in files that import from node:test (and assertion rules also activate for Node's built-in assert module), so you can safely apply the plugin across your whole project.

Rules

<!-- begin auto-generated rules list -->

💼 Configurations enabled in.
✅ Set in the recommended configuration.
☑️ Set in the unopinionated configuration.
🔧 Automatically fixable by the --fix CLI option.
💡 Manually fixable by editor suggestions.

Name                                   Description💼🔧💡
assertion-argumentsEnforce the correct number of arguments for node:assert assertions.✅ ☑️
consistent-assert-styleEnforce a consistent truthiness assertion style.✅🔧
consistent-assert-throws-callback-styleEnforce a consistent body style for assert.throws() arrow callbacks.🔧
consistent-modifier-styleEnforce a consistent style for test modifiers.
consistent-test-context-nameEnforce a consistent name for the test context parameter.✅ ☑️
consistent-test-filenameEnforce a consistent test file name pattern.
consistent-test-itEnforce consistent use of test or it.
hooks-orderEnforce a consistent order of hook declarations.✅ ☑️🔧
max-assertionsEnforce a maximum number of assertions in a test.
max-nested-describeEnforce a maximum depth for nested describe blocks.✅
no-assert-in-describeDisallow assertions directly inside a describe body.✅
no-assert-in-hookDisallow assertions inside hooks.
no-assert-match-stringDisallow strings as the regexp argument of assert.match()/assert.doesNotMatch().✅ ☑️💡
no-assert-throws-asyncDisallow passing an async function to assert.throws()/assert.doesNotThrow().✅ ☑️💡
no-assert-throws-callDisallow calling the function passed to assert.throws().…

Description from the npm listing.

  • eslint
  • eslintplugin
  • eslint-plugin
  • node-test
  • node:test
  • test-runner
  • testing
  • test
  • linter
  • lint
  • style
  • xo

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-node-test weekly downloads on npm, last 90 days: 29,850 weekly downloads as of Oct 18, 2026, +31.0% over 90 days.eslint-node-testWeekly downloads on npm · Last 90 days29,850downloads / week+31.0% over 90 days20K25K30K35K40K45K50K55K60KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 23, 2026 – Oct 18, 2026 · 88 observations · Updated Oc…pluginstats.com
eslint-node-test weekly downloads on npm, last 90 days: 29,850 weekly downloads as of Oct 18, 2026, +31.0% over 90 days.

7/30/90-day growth

eslint-node-test weekly downloads growth on npm: -45.2% over 7 days, -28.4% over 30 days, +31.0% over 90 days.eslint-node-testWeekly downloads growth on npm29,850downloads / week now7-day growth-24,579 weekly downloads-45.2%30-day growth-11,811 weekly downloads-28.4%90-day growth+7,056 weekly downloads+31.0%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
eslint-node-test weekly downloads growth on npm: -45.2% over 7 days, -28.4% over 30 days, +31.0% over 90 days.

Ranking history

eslint-node-test npm ranking history: currently #693 (by weekly downloads).eslint-node-testnpm ranking · by weekly downloads · Last 90 days#693current rank#690#695#700#705#710#715Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
eslint-node-test npm ranking history: currently #693 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 35, #14 (overall #694)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins256 listings · 13 pages · page 9, #2 (overall #162)
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 (122)
Recent weekly downloads observations for eslint-node-test
Date (UTC)Weekly downloadsChange vs. previous
29,850+5.9K
23,998-5.1K
29,091-3K
32,120-10.5K
42,572-10.9K
53,5040
53,504-925
54,429+1K
53,413+192
53,221+1K
52,209+1.1K
51,072+3.1K
47,996-9.8K
57,813—

Similar npm ESLint plugins plugins

All 20 eslint-node-test 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-node-test. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.