Skip to content
PluginStats

vconsole-webpack-plugin weekly downloads statistics

By diamont1001 (2 listings) · npm · Webpack plugins

webpack plugin for vConsole

View on npm Fresh · Dec 6, 2026

vconsole-webpack-plugin has 896 recorded weekly downloads on npm, an increase of 11.0% over the past 30 days, ranking #2102 of 3,247 tracked listings.

Weekly downloads
896
Official API · Dec 5, 2026
7-day growth
+17.0%
+130 weekly downloads
30-day growth
+11.0%
+89 weekly downloads
90-day growth
+42.4%
+267 weekly downloads
Rank
#2102
▼ 39 in 7 days

About vconsole-webpack-plugin

vconsole-webpack-plugin

webpack plugin for vConsole

帮助开发者在移动端进行调试,本插件是在 vConsole 的基础上封装的 webpack 插件,通过 webpack 配置即可自动添加 vConsole 调试功能,方便实用。

安装

npm install vconsole-webpack-plugin --save-dev

使用

webpack.conf.js 文件配置里增加以下插件配置即可

// 引入插件
var vConsolePlugin = require('vconsole-webpack-plugin'); 

module.exports = {
    ...

    plugins: [
        new vConsolePlugin({
            filter: [],  // 需要过滤的入口文件
            enable: true // 发布代码前记得改回 false
        }),
        ...
    ]
    ...
}

vConsole 作为一个调试模块,注定了需要在发布前把它去掉,为了避免人为操作失误而影响线上功能,这里建议配置如下:

package.json 文件配置:

scripts: {
    "dev": "webpack -w --debug",
    "prod": "webpack -p"
}

webpack.conf.js 配置:

// 引入插件
var vConsolePlugin = require('vconsole-webpack-plugin'); 

// 接收运行参数
const argv = require('yargs')
    .describe('debug', 'debug 环境') // use 'webpack --debug'
    .argv;

module.exports = {
    ...

    plugins: [
        new vConsolePlugin({enable: !!argv.debug}),
        ...
    ]
    ...
}

这样,在开发的时候运行 npm run dev,发布的时候运行 npm run prod 即可。

webpack-dev-server 的配套用法:

用法其实跟上面一样,只是别忘记在启动脚本的时候增加 --debug 即可。如下:

  // package.json
  "scripts": {
    ...
    "start:dev": "webpack-dev-server --debug",
    ...
  },

例子参考: webpack-demo

直接使用 vconsole

当然,有时候一些页面想临时添加 vconsole 来调试一下,可以直接使用:

<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<script>
	window.vConsole = new window.VConsole();
</script>

Description from the npm listing.

  • webpack
  • plugin
  • webpack-plugin
  • vConsole
  • vconsole

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

vconsole-webpack-plugin weekly downloads on npm, last 90 days: 896 weekly downloads as of Dec 5, 2026, +42.4% over 90 days.vconsole-webpack-pluginWeekly downloads on npm · Last 90 days896downloads / week+42.4% over 90 days02004006008001K1.2K1.4KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
vconsole-webpack-plugin weekly downloads on npm, last 90 days: 896 weekly downloads as of Dec 5, 2026, +42.4% over 90 days.

7/30/90-day growth

vconsole-webpack-plugin weekly downloads growth on npm: +17.0% over 7 days, +11.0% over 30 days, +42.4% over 90 days.vconsole-webpack-pluginWeekly downloads growth on npm896downloads / week now7-day growth+130 weekly downloads+17.0%30-day growth+89 weekly downloads+11.0%90-day growth+267 weekly downloads+42.4%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
vconsole-webpack-plugin weekly downloads growth on npm: +17.0% over 7 days, +11.0% over 30 days, +42.4% over 90 days.

Ranking history

vconsole-webpack-plugin npm ranking history: currently #2102 (by weekly downloads).vconsole-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2102current rank#400#600#800#1000#1200#1400#1600#1800#2000#2200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
vconsole-webpack-plugin npm ranking history: currently #2102 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 106, #2 (overall #2,102)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 5, #2 (overall #82)
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 (592)
Recent weekly downloads observations for vconsole-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
896+15
881+98
783-12
795+65
730-11
741+33
708-58
766-81
847-77
924-80
1,004-32
1,036+8
1,028-83
1,111—

Similar npm Webpack plugins plugins

All 20 vconsole-webpack-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/vconsole-webpack-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.