Skip to content
JS
Package

restrict-imports-loader

A Webpack loader to restrict imports in ES and TypeScript

v3.2.6, 28 May 2023MITCommonJSTypes: BundledTypeScript toolingBundler plugins and loaders
$ npm install restrict-imports-loader

Key numbers

As of 25 Sept 2026
Weekly downloads
13.4k
+13% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
3 years ago
v3.2.6
GitHub stars
2
1 forks
Open issues / PRs
0 / 11
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60kSept 2025Mar 2026Sept 2026High 41.8k (12 May 2026)Low 8.8k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

13,354 downloads last week, 68,925 in the last month. The 12-month change of +13% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.2.6, 28 May 20233 years ago
First published
-
Last push to GitHub
8 Jul 20231,174 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
11
Commits, last 52 weeks
0
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
42 kB
Dependencies (5)
typescriptloader-utilsschema-utils@types/json-schema@types/loader-utils
npm install restrict-imports-loader
  • jsDelivrhttps://cdn.jsdelivr.net/npm/restrict-imports-loader@3.2.6/
  • unpkghttps://unpkg.com/restrict-imports-loader@3.2.6/
  • esm.shhttps://esm.sh/restrict-imports-loader@3.2.6
PackageWeekly downloadsGzipLast releaseModuleComparison
awesome-typescript-loader120.3k-8 years agoCommonJS-
ts-loader9.2m-3 months agoCommonJS-
esbuild-loader1.1m-3 months agoESM + CommonJS-
react-docgen-typescript-loader87.4k-6 years agoCommonJS-
@epegzz/sass-vars-loader7.1k-5 years agoCommonJS-
fork-ts-checker-webpack-plugin17.4m-1 year agoCommonJS-
fork-ts-checker-webpack-plugin-alt85.2k-7 years agoCommonJS-
vite-plugin-dts2.7m-4 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.