Skip to content
JS
Package

eslint-plugin-restrict-imports

Eslint plugin to ban specified imports in specified directories

v0.0.3, 5 Oct 2020ISCCommonJSTypes: NoneLinting and formatting
$ npm install eslint-plugin-restrict-imports

Key numbers

As of 25 Sept 2026
Weekly downloads
22.1k
+104% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
5 years ago
v0.0.3
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 67.5k (14 Jul 2026)Low 9.3k (14 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

22,120 downloads last week, 105,926 in the last month. The 12-month change of +104% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.0.3, 5 Oct 20205 years ago
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
77 kB
Dependencies (1)
requireindex
npm install eslint-plugin-restrict-imports
  • jsDelivrhttps://cdn.jsdelivr.net/npm/eslint-plugin-restrict-imports@0.0.3/
  • unpkghttps://unpkg.com/eslint-plugin-restrict-imports@0.0.3/
  • esm.shhttps://esm.sh/eslint-plugin-restrict-imports@0.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@typescript-eslint/eslint-plugin100.6m-3 days agoCommonJS-
@eslint/plugin-kit85m-21 days agoESM + CommonJS-
eslint-plugin-jest11.7m-25 days agoCommonJS-
eslint-plugin-expo1.8m-2 months agoCommonJS-
eslint-plugin-only-warn851.2k-6 months agoCommonJS-
eslint-plugin-sort-keys-fix343.9k-5 years agoCommonJS-
eslint-plugin-typescript-sort-keys301.6k-1 year agoESM + CommonJS-
eslint-plugin-sort-class-members286.8k-5 months agoCommonJS-
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.