Skip to content
PluginStats

html-webpack-insert-text-plugin weekly downloads statistics

By hipstersmoothie · npm · Webpack plugins

Insert text into the head or body of your HTML

View on npm Outdated · Nov 24, 2026

html-webpack-insert-text-plugin has 27 recorded weekly downloads on npm, a decrease of 22.9% over the past 30 days, ranking #2931 of 3,247 tracked listings.

Weekly downloads
27
Official API · Dec 5, 2026
7-day growth
0.0%
0 weekly downloads
30-day growth
-22.9%
-8 weekly downloads
90-day growth
+125%
+15 weekly downloads
Rank
#2931
▼ 193 in 7 days

About html-webpack-insert-text-plugin

html-webpack-insert-text-plugin

code style: prettier CircleCI npm npm

Insert text into the head or body of your HTML

Installation

You must be running webpack 4.

npm install --save-dev html-webpack-insert-text-plugin

Usage

Require the plugin in your webpack config

import HtmlWebpackInsertPlugin from 'html-webpack-insert-text-plugin';
// or
const HtmlWebpackInsertPlugin = require('html-webpack-insert-text-plugin')
  .default;

Add the plugin to your webpack config as follows

plugins: [
  new HtmlWebpackPlugin(),
  new HtmlWebpackInjectPlugin([
    {
      target: 'index.html',
      parent: 'head',
      text: 'body { background: red; }'
    },
    {
      target: 'index.html',
      parent: 'body',
      text: '<script>alert('foo')</script>'
    }
  ])
];

Structure

html-webpack-insert-text-plugin takes an array of configuration objects. Those object should have the following structure.

  • target (optional): name of HTML page to target
  • parent: parent element to add into, only can be head or body, default value is head
  • text: text to insert into the parent

Description from the npm listing.

  • webpack-plugin
  • html
  • 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-insert-text-plugin weekly downloads on npm, last 90 days: 27 weekly downloads as of Dec 5, 2026, +125% over 90 days.html-webpack-insert-text-pluginWeekly downloads on npm · Last 90 days27downloads / week+125% over 90 days0100200300400500600Sep 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-insert-text-plugin weekly downloads on npm, last 90 days: 27 weekly downloads as of Dec 5, 2026, +125% over 90 days.

7/30/90-day growth

html-webpack-insert-text-plugin weekly downloads growth on npm: 0.0% over 7 days, -22.9% over 30 days, +125% over 90 days.html-webpack-insert-text-pluginWeekly downloads growth on npm27downloads / week now7-day growth+0 weekly downloads0.0%30-day growth-8 weekly downloads-22.9%90-day growth+15 weekly downloads+125%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
html-webpack-insert-text-plugin weekly downloads growth on npm: 0.0% over 7 days, -22.9% over 30 days, +125% over 90 days.

Ranking history

html-webpack-insert-text-plugin npm ranking history: currently #2931 (by weekly downloads).html-webpack-insert-text-pluginnpm ranking · by weekly downloads · Last 90 days#2931current rank#500#1000#1500#2000#2500#3000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 35 observations · Updated Dec 5, 2026pluginstats.com
html-webpack-insert-text-plugin npm ranking history: currently #2931 (by weekly downloads).

Listing placement

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

Listing placement

Webpack plugins349 listings · 18 pages · page 15, #2 (overall #282)
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 html-webpack-insert-text-plugin
Date (UTC)Weekly downloadsChange vs. previous
27-6
33-2
350
35+9
26-1
270
270
27+5
220
22-2
24+3
21+4
170
17—

Similar npm Webpack plugins plugins

All 20 html-webpack-insert-text-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-insert-text-plugin. First seen Oct 16, 2026; last successful collection Nov 24, 2026. See the methodology.