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 Fresh · Oct 18, 2026

html-webpack-insert-text-plugin has 7 recorded weekly downloads on npm, a decrease of 75.9% over the past 30 days, ranking #2131 of 2,322 tracked listings.

Weekly downloads
7
Official API · Oct 18, 2026
7-day growth
-63.2%
-12 weekly downloads
30-day growth
-75.9%
-22 weekly downloads
90-day growth
-12.5%
-1 weekly downloads
Rank
#2131
Among tracked npm listings

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: 7 weekly downloads as of Oct 18, 2026, -12.5% over 90 days.html-webpack-insert-text-pluginWeekly downloads on npm · Last 90 days7downloads / week-12.5% over 90 days0100200300400500600Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
html-webpack-insert-text-plugin weekly downloads on npm, last 90 days: 7 weekly downloads as of Oct 18, 2026, -12.5% over 90 days.

7/30/90-day growth

html-webpack-insert-text-plugin weekly downloads growth on npm: -63.2% over 7 days, -75.9% over 30 days, -12.5% over 90 days.html-webpack-insert-text-pluginWeekly downloads growth on npm7downloads / week now7-day growth-12 weekly downloads-63.2%30-day growth-22 weekly downloads-75.9%90-day growth-1 weekly downloads-12.5%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
html-webpack-insert-text-plugin weekly downloads growth on npm: -63.2% over 7 days, -75.9% over 30 days, -12.5% over 90 days.

Ranking history

html-webpack-insert-text-plugin npm ranking history: currently #2131 (by weekly downloads).html-webpack-insert-text-pluginnpm ranking · by weekly downloads · Last 90 days#2131current rank#600#800#1000#1200#1400#1600#1800#2000#2200Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
html-webpack-insert-text-plugin npm ranking history: currently #2131 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 107, #15 (overall #2,135)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins251 listings · 13 pages · page 12, #7 (overall #227)
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 (544)
Recent weekly downloads observations for html-webpack-insert-text-plugin
Date (UTC)Weekly downloadsChange vs. previous
7+3
4-5
90
9-1
10-4
140
14-5
190
19-483
502-1
503-2
505+4
5010
501—

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 Oct 20, 2026. See the methodology.