Skip to content
PluginStats

billd-html-webpack-plugin weekly downloads statistics

By galaxy-s10 · npm · Webpack plugins

给你的项目注入构建信息~

View on npm Fresh · Oct 17, 2026

billd-html-webpack-plugin has 54 recorded weekly downloads on npm, a decrease of 40.0% over the past 30 days.

It ranks #1718 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +135%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
54
Official API · Oct 17, 2026
7-day growth
-65.4%
-102 weekly downloads
30-day growth
-40.0%
-36 weekly downloads
90-day growth
+135%
+31 weekly downloads
Rank
#1718
Among tracked npm listings

About billd-html-webpack-plugin

billd-html-webpack-plugin

给你的项目注入构建信息

简介

一个给你的项目注入构建信息的 webpack / vite 插件,兼容 nuxt2/3/4、vuecli4/5、webpack4/5、vite4、next12

效果

从控制台可以看到,打印了当前项目的 git 信息以及最后部署时间,非常人性化,再也不用担心部署的代码是不是最新的了~

原理

• nuxt2、vuecli4 是基于 webpack4 的,主要是根据 compiler.hooks.emit 这个钩子,在入口文件注入项目信息然后再输出 • next12、vuecli5 是基于 webpack5 的,主要是根据 compiler.hooks.compilation 这个钩子以及 compilation.hooks.processAssets, 对入口文件进行注入项目信息然后再输出 • nuxt3 是基于 vite 的,主要是根据 configResolved 这个钩子( vite 插件特有),通过 configResolved 钩子找入口,然后使用 transform 钩子(rollup 插件)将项目信息注入到入口文件 • vite4,主要是根据 transformIndexHtml 这个钩子(vite 插件特有),对 index.html 注入项目信息

本质上就是给你的项目入口/所有 html 插入一串 js 代码。

安装

使用前注意

请确保你的 package.json 里面有以下字段:

使用

nuxt2

nuxt.config.js

nuxt3

nuxt.config.ts

nuxt3.6+

nuxt.config.ts

vuecli4

vue.config.js

vuecli5

vue.config.js

webpack4

webpack.config.js

webpack5

webpack.config.js

next12

next.config.js

vite4

vite.config.ts

注意:如果 package.json 里面配置了 "type": "module" ,则需要添加.default:new BilldHtmlWebpackPlugin.default({ env: 'vite4' }).config

配置

打印选项

获取打印数据

注意:只支持在 node 环境执行

调试

• 查看列表 • 卸载 • 在本地的 billd-html-webpack-plugin 项目目录下执行: • 启动项目: • 在用到 billd-html-webpack-plugin 的项目目录下执行:

https://pnpm.io/zh/cli/unlink 如果要删除使用 pnpm link --global 建立的链接,则应使用 pnpm uninstall --global 。 pnpm unlink 仅删除当前> 目录中的链接。

发布

引用

• https://git-scm.com/docs/git-show • https://github.com/jantimon/html-webpack-plugin • https://webpack.docschina.org/api/compiler-hooks/ • https://webpack.docschina.org/api/compilation-hooks/ • https://webpack.docschina.org/api/compilation-hooks/#processassets

源码

https://github.com/galaxy-s10/babel-plugin-import-billd,欢迎 star~

Description from the npm listing.

  • billd
  • webpack-plugin
  • html-webpack-plugin

Where billd-html-webpack-plugin sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 86, #19 (overall #1719)
All npm: every listing in weekly downloads order
PNG SVG
Webpack plugins247 listings · 13 pages · page 7, #1 (overall #121)
Webpack plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

billd-html-webpack-plugin weekly downloads on npm, last 90 days: 54 weekly downloads as of Oct 17, 2026, +135% over 90 days.billd-html-webpack-pluginWeekly downloads on npm · Last 90 days54downloads / week+135% over 90 days050100150200250300350Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
billd-html-webpack-plugin weekly downloads on npm, last 90 days: 54 weekly downloads as of Oct 17, 2026, +135% over 90 days.
PNG SVG

7/30/90-day growth

billd-html-webpack-plugin weekly downloads growth on npm: -65.4% over 7 days, -40.0% over 30 days, +135% over 90 days.billd-html-webpack-pluginWeekly downloads growth on npm54downloads / week now7-day growth-102 weekly downloads-65.4%30-day growth-36 weekly downloads-40.0%90-day growth+31 weekly downloads+135%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
billd-html-webpack-plugin weekly downloads growth on npm: -65.4% over 7 days, -40.0% over 30 days, +135% over 90 days.
PNG SVG

Ranking history

billd-html-webpack-plugin npm ranking history: currently #1718 (by weekly downloads).billd-html-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#1718current rank#1716#1717#1718#1719#1720Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
billd-html-webpack-plugin npm ranking history: currently #1718 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for billd-html-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
54-3
57+7
50-46
96-83
1790
179+7
172+16
156-70
226-28
254+41
213+49
164-7
171-11
182—

Similar npm Webpack plugins plugins

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/billd-html-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.