Skip to content
PluginStats

write-to-file-webpack weekly downloads statistics

By Gyumeijie (2 listings) · npm · Webpack plugins

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

View on npm Fresh · Oct 17, 2026

write-to-file-webpack has 21 recorded weekly downloads on npm, a decrease of 73.4% over the past 30 days.

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

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

PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.

Weekly downloads
21
Official API · Oct 17, 2026
7-day growth
-75.3%
-64 weekly downloads
30-day growth
-73.4%
-58 weekly downloads
90-day growth
-32.3%
-10 weekly downloads
Rank
#1831
Among tracked npm listings

About write-to-file-webpack

Write to file plugin for webpack(v4)

This is a simple webpack plugin for writing data to file. And there is a similar plugin for webpack v3.

Features

1. support creating directory recursively 2. support data of function type, which allows processing data in complex situation 3. support native options of underlying writeFileSync 4. support protection of an exsited file

Installation

npm install --save-dev write-to-file-webpack

Usage

The data to be written can be either a simple javascript variable, or a function which returns some data.

If the data is provided as a function, we can do more operations than just simply returning the data to be written. For example, if we wanna write to a file parts of an exsited file say package.json, and more specifically, removing the dependencies and devDependencies items, with write-to-file-webpack we can do this:

Of course, if we want to copy the whole content of a existed file, there is webpack plugin called copy-webpack-plugin.

Support

node >= 6 and webpack >= 4

Options

• filename (required) • data (required) • override Default: true, if set to false, no data will be written to an exsited file • encoding | Default: 'utf8' • mode Default: 0o666 • flag Default: 'w'

For more information about encoding, mode, and flag please refer to node writeFile.

Description from the npm listing.

  • webpack
  • webpack v4
  • write
  • file
  • plugin
  • webpack-plugin

Where write-to-file-webpack 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 92, #12 (overall #1832)
All npm: every listing in weekly downloads order
PNG SVG
Webpack plugins247 listings · 13 pages · page 8, #18 (overall #158)
Webpack plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

write-to-file-webpack weekly downloads on npm, last 90 days: 21 weekly downloads as of Oct 17, 2026, -32.3% over 90 days.write-to-file-webpackWeekly downloads on npm · Last 90 days21downloads / week-32.3% over 90 days020406080100120140160180Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
write-to-file-webpack weekly downloads on npm, last 90 days: 21 weekly downloads as of Oct 17, 2026, -32.3% over 90 days.
PNG SVG

7/30/90-day growth

write-to-file-webpack weekly downloads growth on npm: -75.3% over 7 days, -73.4% over 30 days, -32.3% over 90 days.write-to-file-webpackWeekly downloads growth on npm21downloads / week now7-day growth-64 weekly downloads-75.3%30-day growth-58 weekly downloads-73.4%90-day growth-10 weekly downloads-32.3%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
write-to-file-webpack weekly downloads growth on npm: -75.3% over 7 days, -73.4% over 30 days, -32.3% over 90 days.
PNG SVG

Ranking history

write-to-file-webpack npm ranking history: currently #1831 (by weekly downloads).write-to-file-webpacknpm ranking · by weekly downloads · Last 90 days#1831current rank#600#800#1000#1200#1400#1600#1800#2000Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
write-to-file-webpack npm ranking history: currently #1831 (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 (543)
Recent weekly downloads observations for write-to-file-webpack
Date (UTC)Weekly downloadsChange vs. previous
21-1
22-5
27-29
56-22
780
78-5
83-2
85-4
89+5
84+16
68+12
56-6
62-30
92—

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/write-to-file-webpack. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.