Skip to content
PluginStats

gen-buildinfo-webpack-plugin weekly downloads statistics

By SolidZORO · npm · Webpack plugins

generate a buildinfo.json file to public directory

View on npm Fresh · Nov 4, 2026

gen-buildinfo-webpack-plugin has 34 recorded weekly downloads on npm, ranking #2017 of 2,819 tracked listings.

Weekly downloads
34
Official API · Nov 2, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#2017
Among tracked npm listings

About gen-buildinfo-webpack-plugin

gen-buildinfo-webpack-plugin

version license size download

Generate a buildinfo.json file to public directory.

Installation

# Webpack (CRA)
yarn add -D gen-buildinfo-webpack-plugin
 
# Next.js
yarn add gen-buildinfo-webpack-plugin 

Usage

Webpack (CRA)
// webpack.config.js
const GenBuildinfoWebpackPlugin = require('gen-buildinfo-webpack-plugin');

new GenBuildinfoWebpackPlugin({
  package: require('./package.json'),
  //
  // [Options]
  // fileDir: PROJECT_PUBLIC_DIR,
  // fileName: 'buildinfo.json',
  // commitHashLength: 4, 
})
Next.js
// next.config.js
// use `process.env.NEXT_PUBLIC_BUILD_INFO`
const { getBuildInfo } = require('gen-buildinfo-webpack-plugin');

module.exports = {
  env: {
    NEXT_PUBLIC_BUILD_INFO: JSON.stringify(
      getBuildInfo({ package: require('./package.json') }),
    ),
  },
  webpack(webpackConfig) {
    return webpackConfig;
  },
  // ....
}

Output

const { getBuildInfo } = require('gen-buildinfo-webpack-plugin');

// {
//   "PKG_NAME": "demo",
//   "AUTHOR": "Jason Feng <solidzoro[#]live.com>",
//   "VERSION": "2.66.1",
//   "BUILD_NUMBER": 2066001,
//   "BUILD_TIME": "20230406-142929",
//   "COMMIT_HASH": "c6ed"
// };
const buildInfo = getBuildInfo({ package: require('../../package.json') });

License

MIT © Jason Feng

<!-- badges -->

Description from the npm listing.

  • buildinfo
  • webpack-plugin
  • webpack
  • plugin
  • build
  • info
  • output
  • git
  • hash
  • project
  • file
  • callback

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

gen-buildinfo-webpack-plugin weekly downloads on npm, last 90 days: 34 weekly downloads as of Nov 2, 2026.gen-buildinfo-webpack-pluginWeekly downloads on npm · Last 90 days34downloads / week303132333435363738Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18Nov 2downloads / weekNov 2, 2026 – Nov 2, 2026 · 1 observations · Updated Nov 2, 2026pluginstats.com
gen-buildinfo-webpack-plugin weekly downloads on npm, last 90 days: 34 weekly downloads as of Nov 2, 2026.

7/30/90-day growth

gen-buildinfo-webpack-plugin weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.gen-buildinfo-webpack-pluginWeekly downloads growth on npm34downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Nov 2, 2026pluginstats.com
gen-buildinfo-webpack-plugin weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

gen-buildinfo-webpack-plugin npm ranking history: currently #2017 (by weekly downloads).gen-buildinfo-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2017current rank#2015#2016#2017#2018#2019Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20Nov 4rankNov 4, 2026 – Nov 4, 2026 · 1 observations · Updated Nov 2, 2026pluginstats.com
gen-buildinfo-webpack-plugin npm ranking history: currently #2017 (by weekly downloads).

Listing placement

All npm2,816 listings · 141 pages · 1,410 shown · page 120, #12 (overall #2,392)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins298 listings · 15 pages · page 11, #5 (overall #205)
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 (1)
Recent weekly downloads observations for gen-buildinfo-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
34—

Similar npm Webpack plugins plugins

All 20 gen-buildinfo-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/gen-buildinfo-webpack-plugin. First seen Nov 4, 2026; last successful collection Nov 4, 2026. See the methodology.