Skip to content
PluginStats

html-webpack-inject-plugin weekly downloads statistics

By kagawagao · npm · Webpack plugins

inject external source to html

View on npm Fresh · Dec 6, 2026

html-webpack-inject-plugin has 1,644 recorded weekly downloads on npm, a decrease of 3.1% over the past 30 days, ranking #1948 of 3,247 tracked listings.

Weekly downloads
1,644
Official API · Dec 5, 2026
7-day growth
+179%
+1.1K weekly downloads
30-day growth
-3.1%
-52 weekly downloads
90-day growth
-29.2%
-677 weekly downloads
Rank
#1948
▲ 167 in 7 days

About html-webpack-inject-plugin

html-webpack-inject-plugin

node npm license Build Status Standard - JavaScript Style Guide

inject external tag to html

Installation

npm install --save-dev html-webpack-inject-plugin

Usage

Require the plugin in your webpack config

import HtmlWebpackInjectPlugin from 'html-webpack-inject-plugin'
// or
const HtmlWebpackInjectPlugin = require('html-webpack-inject-plugin').default

Add the plugin to your webpack config as follows

plugins: [
  new HtmlWebpackPlugin({
    filename: 'index.html'
  }),
  new HtmlWebpackPlugin({
    filename: 'other.html'
  }),
  new HtmlWebpackInjectPlugin({
    externals: [
      {
        tagName: 'script',
        attributes: {
          src: 'common-script.js',
          type: 'text/javascript'
        }
      },
      {
        tagName: 'script',
        attributes: {
          src: 'only-inject-to-other-script.js',
          type: 'text/javascript'
        },
        include: ['other.html']
      }
    ],
    prepend: true // default is false
  })
]

Options

  • externals: <HtmlAssetItem>[]: external HTMLTagObject which you want to add
  • prepend: insert before parent first child

Description from the npm listing.

  • webpack-plugin
  • webpack

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

html-webpack-inject-plugin weekly downloads on npm, last 90 days: 1,644 weekly downloads as of Dec 5, 2026, -29.2% over 90 days.html-webpack-inject-pluginWeekly downloads on npm · Last 90 days1,644downloads / week-29.2% over 90 days05001K1.5K2K2.5KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
html-webpack-inject-plugin weekly downloads on npm, last 90 days: 1,644 weekly downloads as of Dec 5, 2026, -29.2% over 90 days.

7/30/90-day growth

html-webpack-inject-plugin weekly downloads growth on npm: +179% over 7 days, -3.1% over 30 days, -29.2% over 90 days.html-webpack-inject-pluginWeekly downloads growth on npm1,644downloads / week now7-day growth+1,054 weekly downloads+179%30-day growth-52 weekly downloads-3.1%90-day growth-677 weekly downloads-29.2%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
html-webpack-inject-plugin weekly downloads growth on npm: +179% over 7 days, -3.1% over 30 days, -29.2% over 90 days.

Ranking history

html-webpack-inject-plugin npm ranking history: currently #1948 (by weekly downloads).html-webpack-inject-pluginnpm ranking · by weekly downloads · Last 90 days#1948current rank#1400#1500#1600#1700#1800#1900#2000#2100#2200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
html-webpack-inject-plugin npm ranking history: currently #1948 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 98, #8 (overall #1,948)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 4, #3 (overall #63)
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 (170)
Recent weekly downloads observations for html-webpack-inject-plugin
Date (UTC)Weekly downloadsChange vs. previous
1,644+24
1,620+380
1,240+352
888+216
672+78
594+9
585-5
590+4
586-332
918-314
1,232-118
1,350-75
1,425-89
1,514—

Similar npm Webpack plugins plugins

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