eslint-plugin-node-dependencies weekly downloads statistics
By ota-meshi (12 listings) · npm · ESLint plugins
ESLint plugin to check Node.js dependencies.
eslint-plugin-node-dependencies has 82,567 recorded weekly downloads on npm, an increase of 31.6% over the past 30 days, ranking #669 of 3,247 tracked listings.
About eslint-plugin-node-dependencies
Introduction
eslint-plugin-node-dependencies is ESLint plugin to check Node.js dependencies.
::: This Plugin is still in an EXPERIMENTAL STATE :::
:name_badge: Features
This ESLint plugin checks package.json and provides linting rules related to dependencies problems.
:book: Documentation
See documents.
:cd: Installation
npm install --save-dev eslint eslint-plugin-node-dependencies
<!--DOCS_IGNORE_END-->Requirements
- ESLint v9.38.0 and above
- Node.js
^20.19.0 || ^22.13.0 || >=24
:book: Usage
<!--USAGE_SECTION_START-->Add node-dependencies to the plugins section of your eslint.config.js configuration file and either use one of the configurations available (recommended) or configure the rules you want:
The recommended configuration
The plugin.configs.recommended config enables a subset of the rules that should be most useful to most users.
See lib/configs/rules/recommended.ts for more details.
// eslint.config.js
import nodeDependenciesPlugin from "eslint-plugin-node-dependencies"
export default [
...nodeDependenciesPlugin.configs.recommended,
];
Advanced Configuration
Override/add specific rules configurations. See also: http://eslint.org/docs/user-guide/configuring.
// eslint.config.js
import nodeDependenciesPlugin from "eslint-plugin-node-dependencies"
export default [
{
plugins: { "node-dependencies": nodeDependenciesPlugin },
rules: {
// Override/add rules settings here, such as:
"node-dependencies/rule-name": "error"
}
}
];
<!--USAGE_SECTION_END-->
:white_check_mark: Rules
<!--RULES_SECTION_START-->The --fix option on the command line automatically fixes problems reported by rules which have a wrench :wrench: below.
The rules with the following star :star: are included in the plugin.configs.recommended config.
Possible Errors
| Rule ID | Description | |
|---|---|---|
| node-dependencies/compat-engines | enforce the versions of the engines of the dependencies to be compatible. | :star: |
| node-dependencies/no-dupe-deps | disallow duplicate dependencies. | :star: |
| node-dependencies/valid-semver | enforce versions that is valid as a semantic version. | :star: |
Best Practices
| Rule ID | Description | |
|---|---|---|
| node-dependencies/absolute-version | require or disallow absolute version of dependency. | |
| node-dependencies/no-deprecated | disallow having dependencies on deprecate packages. | |
| node-dependencies/no-restricted-deps | Disallows dependence on the specified package. | |
| node-dependencies/require-provenance-deps | Require provenance information for dependencies |
Stylistic Issues
| Rule ID | Description | |
|---|---|---|
| node-dependencies/prefer-caret-range-version | require caret(^) version instead of range version. | :wrench: |
| node-dependencies/prefer-tilde-range-version | require tilde(~) version instead of range version. | :wrench: |
Deprecated…
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- nodejs
- dependencies
- json
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (170)Similar npm ESLint plugins plugins
All 20 eslint-plugin-node-dependencies alternativesData 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-node-dependencies. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.