Skip to content
PluginStats

check-inline-loader-plugin weekly downloads statistics

By wibetter · npm · Webpack plugins

通过白名单形式来检测是否存在未知内联loader

View on npm Stale · Dec 2, 2026

check-inline-loader-plugin has 41 recorded weekly downloads on npm, a decrease of 45.3% over the past 30 days, ranking #2825 of 3,247 tracked listings.

Weekly downloads
41
Official API · Dec 5, 2026
7-day growth
+242%
+29 weekly downloads
30-day growth
-45.3%
-34 weekly downloads
90-day growth
+57.7%
+15 weekly downloads
Rank
#2825
▲ 109 in 7 days

About check-inline-loader-plugin

check-inline-loader-plugin for Webpack

通过白名单形式来检测是否存在未知内联loader,用于避免黑客通过内联loader的形式向系统注入恶意脚本。

什么场景下需要使用 check-inline-loader-plugin

  1. 在线版自定义组件: 用户在线开发自定义组件;
  2. NPM版自定义组件: 用户通过NPM包的形式注入自定义组件;
  3. 云构建: 使用webpack构建用户提交的自定义代码;
  4. 待补充。

check-inline-loader-plugin的使用方法

1. 安装:
$ npm install --save-dev check-inline-loader-plugin

或者:

$ yarn add check-inline-loader-plugin --dev
2. 在 webpack 中添加 check-inline-loader-plugin

配置 你的webpack.config.js:

// 导入 check-inline-loader-plugin
const CheckInlineLoaderPlugin = require('check-inline-loader-plugin');

module.exports = {
  // ...
  plugins: [
    new CheckInlineLoaderPlugin({
      allowLoaders: [ // 设置loader白名单
        'html-webpack-plugin/lib/loader.js',
        'html-loader/dist/cjs.js',
        'babel-loader/lib/index.js',
        'vue-loader/dist/index.js',
        'vue-loader/dist/templateLoader.js',
        'vue-style-loader/index.js',
        'vue-loader/dist/stylePostLoader.js',
        'sass-loader/dist/cjs.js',
        'css-loader/dist/cjs.js',
        'postcss-loader/dist/cjs.js',
        'mini-css-extract-plugin/dist/loader.js',
        'params-replace-loader/index.js',
        // 'test-custom-loader/index.js',
      ],
      showUsedLoaders: true, // 是否输出当前已用到的loader
      showUnknownLoaders: true, // 是否输出当前检测到的未知loader
      errorMsg: '如需添加自定义loader,请联系平台管理员', // 错误提示内容
      exitMode: 'exit', // 出现未知loader时的退出程序模式,exit 或 throwError
    }),
  ],
}

注意事项

1、初次使用CheckInlineLoaderPlugin时,您可能并不太清楚当前项目中已经用到了哪些loader,您可以先在allowLoaders添加一个已知的loader,通过设置showUsedLoaders为true来测试输出当前已经用到的loader(可能需要多次执行构建才能获取完整的loader列表)。

Description from the npm listing.

  • webpack-plugin
  • 检测未知内联loader

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

check-inline-loader-plugin weekly downloads on npm, last 90 days: 41 weekly downloads as of Dec 5, 2026, +57.7% over 90 days.check-inline-loader-pluginWeekly downloads on npm · Last 90 days41downloads / week+57.7% over 90 days020406080Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
check-inline-loader-plugin weekly downloads on npm, last 90 days: 41 weekly downloads as of Dec 5, 2026, +57.7% over 90 days.

7/30/90-day growth

check-inline-loader-plugin weekly downloads growth on npm: +242% over 7 days, -45.3% over 30 days, +57.7% over 90 days.check-inline-loader-pluginWeekly downloads growth on npm41downloads / week now7-day growth+29 weekly downloads+242%30-day growth-34 weekly downloads-45.3%90-day growth+15 weekly downloads+57.7%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
check-inline-loader-plugin weekly downloads growth on npm: +242% over 7 days, -45.3% over 30 days, +57.7% over 90 days.

Ranking history

check-inline-loader-plugin npm ranking history: currently #2825 (by weekly downloads).check-inline-loader-pluginnpm ranking · by weekly downloads · Last 90 days#2825current rank#1800#2000#2200#2400#2600#2800#3000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankNov 12, 2026 – Dec 6, 2026 · 23 observations · Updated Dec 5, 2026pluginstats.com
check-inline-loader-plugin npm ranking history: currently #2825 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 142, #7 (overall #2,827)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 13, #13 (overall #253)
Webpack 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 (142)
Recent weekly downloads observations for check-inline-loader-plugin
Date (UTC)Weekly downloadsChange vs. previous
41-1
42-2
44-2
46+35
11+1
10-1
11-1
12+1
11-9
20-1
21+3
18-2
20+1
19—

Similar npm Webpack plugins plugins

All 20 check-inline-loader-plugin 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/check-inline-loader-plugin. First seen Nov 12, 2026; last successful collection Dec 2, 2026. See the methodology.