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 5, 2026

gen-buildinfo-webpack-plugin has 20 recorded weekly downloads on npm, ranking #2122 of 2,855 tracked listings.

Weekly downloads
20
Official API · Nov 3, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#2122
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: 20 weekly downloads as of Nov 3, 2026.gen-buildinfo-webpack-pluginWeekly downloads on npm · Last 90 days20downloads / week2022242628303234Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19Nov 3downloads / weekobservedarchived (Internet Archive)no observationsNov 2, 2026 – Nov 3, 2026 · 2 observations · Updated Nov 3…pluginstats.com
gen-buildinfo-webpack-plugin weekly downloads on npm, last 90 days: 20 weekly downloads as of Nov 3, 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 npm20downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Nov 3, 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 #2122 (by weekly downloads).gen-buildinfo-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2122current rank#2000#2020#2040#2060#2080#2100#2120#2140Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21Nov 5rankNov 4, 2026 – Nov 5, 2026 · 2 observations · Updated Nov 3, 2026pluginstats.com
gen-buildinfo-webpack-plugin npm ranking history: currently #2122 (by weekly downloads).

Listing placement

All npm2,853 listings · 143 pages · 1,428 shown · page 127, #12 (overall #2,532)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins300 listings · 15 pages · page 12, #15 (overall #235)
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 (2)
Recent weekly downloads observations for gen-buildinfo-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
20-14
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 5, 2026. See the methodology.