Skip to content
PluginStats

html-inline-script-webpack-plugin weekly downloads statistics

By icelam · npm · Webpack plugins

A webpack plugin for converting external script files to inline script block. Requires 'html-webpack-plugin' to work.

View on npm Fresh · Oct 17, 2026

html-inline-script-webpack-plugin has 51,274 recorded weekly downloads on npm, a decrease of 32.7% over the past 30 days.

It ranks #557 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -69.9%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
51,274
Official API · Oct 17, 2026
7-day growth
-53.9%
-60K weekly downloads
30-day growth
-32.7%
-24.9K weekly downloads
90-day growth
-69.9%
-119.3K weekly downloads
Rank
#557
Among tracked npm listings

About html-inline-script-webpack-plugin

HTML Inline Script Webpack Plugin for webpack (html-inline-script-webpack-plugin)

A webpack plugin for converting external script files to inline script block . Requires html-webpack-plugin to work.

Inspired by react-dev-utils created by Facebook.

Install

Webpack5

Webpack4

Usage

By default, the plugin will convert all the external script files to inline script block, and remove the original script file from build assets.

Options

Below are lists of options supported by this plugin:

| Name | Description | Type |

| scriptMatchPattern | List of script files that should be processed and inject as inline script. This will be filtered using the output file name. | RegExp[] | | htmlMatchPattern | List of HTML template files that should be processed by this plugin. Useful when you have multiple html-webpack-plugin initialized. This will be filtered using the options?.filename provided by html-webpack-plugin. | RegExp[] | | assetPreservePattern | List of script files that should be preserved by this plugin after inserting them inline. This will be filtered using the output file name. | RegExp[] |

Here are some examples illustrating how to use these options:

Process only script files that have file name start with runtime~ and app~

Process any script files but only have them inlined in index.html

Process script files that have file name start with runtime~ and app~ and inject only to index.html

Process any script files but preserve main.js from build assets

Known limitations

1. This plugin does not transform Web Worker syntax like new Worker(new URL('./worker.js', import.meta.url));`. It simply embeds the source code processed by webpack into HTML files, and emits any JavaScript files that is not processed by the plugin. 2. This plugin is designed to embed script content into HTML files for deployment to environments where only a single file can be uploaded, or where the script file itself is small enough that it doesn't warrant an additional HTTP request. It is not intended for use in development, and may fail if HMR is enabled.

Contributors

Thanks goes to these wonderful people:

@kmalakoff @SorsOps

Description from the npm listing.

  • webpack
  • webpack4
  • webpack5
  • webpack-plugin
  • html-webpack-plugin
  • inline
  • internal
  • embedded
  • source
  • inline-source
  • script
  • inline-script

Where html-inline-script-webpack-plugin sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 28, #17 (overall #557)
All npm: every listing in weekly downloads order
PNG SVG
Webpack plugins247 listings · 13 pages · page 1, #10 (overall #10)
Webpack plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

html-inline-script-webpack-plugin weekly downloads on npm, last 90 days: 51,274 weekly downloads as of Oct 17, 2026, -69.9% over 90 days.html-inline-script-webpack-pluginWeekly downloads on npm · Last 90 days51,274downloads / week-69.9% over 90 days050K100K150K200K250KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
html-inline-script-webpack-plugin weekly downloads on npm, last 90 days: 51,274 weekly downloads as of Oct 17, 2026, -69.9% over 90 days.
PNG SVG

7/30/90-day growth

html-inline-script-webpack-plugin weekly downloads growth on npm: -53.9% over 7 days, -32.7% over 30 days, -69.9% over 90 days.html-inline-script-webpack-pluginWeekly downloads growth on npm51,274downloads / week now7-day growth-60,000 weekly downloads-53.9%30-day growth-24,899 weekly downloads-32.7%90-day growth-119,260 weekly downloads-69.9%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
html-inline-script-webpack-plugin weekly downloads growth on npm: -53.9% over 7 days, -32.7% over 30 days, -69.9% over 90 days.
PNG SVG

Ranking history

html-inline-script-webpack-plugin npm ranking history: currently #557 (by weekly downloads).html-inline-script-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#557current rank#555#556#557#558#559Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
html-inline-script-webpack-plugin npm ranking history: currently #557 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for html-inline-script-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
51,274-5.1K
56,362+8.4K
47,932-24.8K
72,728-27.8K
100,5300
100,530-10.9K
111,449+175
111,274-1.1K
112,370-1.3K
113,622-3K
116,657+7.1K
109,573-22.8K
132,370-2.8K
135,158—

Similar npm Webpack plugins plugins

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-inline-script-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.