Skip to content
PluginStats

copy-asset-in-memory-webpack-plugin weekly downloads statistics

By sibiraj-s (4 listings) · npm · Webpack plugins

Copy assets in webpack memory

View on npm Fresh · Dec 6, 2026

copy-asset-in-memory-webpack-plugin has 9,175 recorded weekly downloads on npm, an increase of 169% over the past 30 days, ranking #1304 of 3,247 tracked listings.

Weekly downloads
9,175
Official API · Dec 5, 2026
7-day growth
+104%
+4.7K weekly downloads
30-day growth
+169%
+5.8K weekly downloads
90-day growth
-53.3%
-10.5K weekly downloads
Rank
#1304
▲ 226 in 7 days

About copy-asset-in-memory-webpack-plugin

copy-asset-in-memory-webpack-plugin

Tests License Version Node Version Webpack Version

Copy assets in webpack memory

<p align="center"> <a href="https://github.com/sibiraj-s/copy-asset-in-memory-webpack-plugin"> <img width="200" height="200" src="./assets/webpack.png"> </a> </p>

Getting Started

Installation
npm i -D copy-asset-in-memory-webpack-plugin
# or
yarn add --dev copy-asset-in-memory-webpack-plugin
Usage
// webpack.config.js
const CopyAssetInMemoryPlugin = require("copy-asset-in-memory-webpack-plugin");

module.exports = {
  plugins: [
    new CopyAssetInMemoryPlugin({
      test: /.js$/,
      to: "js",
    }),
  ],
};
Options
test

Include all assets that pass test assertion

Type: String|RegExp|Array<String|RegExp>. Default: undefined

include

Include all assets matching any of these conditions

Type: String|RegExp|Array<String|RegExp>. Default: undefined

exclude

Exclude all assets matching any of these conditions

Type: String|RegExp|Array<String|RegExp>. Default: undefiend

stage

Refer https://webpack.js.org/api/compilation-hooks/#processassets for more info.

// webpack.config.js
const { Compilation } = require("webpack");
const CopyAssetInMemoryPlugin = require("copy-asset-in-memory-webpack-plugin");

module.exports = {
  plugins: [
    new CopyAssetInMemoryPlugin({
      test: /.js$/,
      stage: Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE, // Default
      to: (fileName) => `${js}/filename`,
    }),
  ],
};
to

Asset destination, allows to modify the file path.

Type: Function | string. Default: undefined

// webpack.config.js
const CopyAssetInMemoryPlugin = require("copy-asset-in-memory-webpack-plugin");

module.exports = {
  plugins: [
    new CopyAssetInMemoryPlugin({
      test: /.js$/,
      to: (fileName) => `${js}/filename`, // copies all files into `js` folder
    }),
    new CopyAssetInMemoryPlugin({
      test: /.svg$/,
      to: "assets", // copies all files into `assets` folder
    }),
  ],
};
transform

Allows to modify the file contents.

Type: Function. Default: undefined

// webpack.config.js
const CopyAssetInMemoryPlugin = require("copy-asset-in-memory-webpack-plugin");

module.exports = {
  plugins: [
    new CopyAssetInMemoryPlugin({
      test: /.js$/,
      to: (fileName) => `${js}/filename`,
      // The `content` argument is a [`Buffer`](https://nodejs.org/api/buffer.html) object
      // it could be converted to a `String` to be processed using `content.toString()`
      transform: (content) => "newContent",
    }),
  ],
};
deleteOriginalAssets

Whether to delete the original assets or not.

Type: boolean. Default: false

Caveats
  • assets cannot be copied outside output directory
  • deleting an asset via deleteOriginalAssets will also delete its sourcemap
Related Plugins

Description from the npm listing.

  • webpack
  • webpack-plugin
  • copy-plugin
  • copy-webpack-plugin
  • copy-asset-in-memory-webpack-plugin
  • copy

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

copy-asset-in-memory-webpack-plugin weekly downloads on npm, last 90 days: 9,175 weekly downloads as of Dec 5, 2026, -53.3% over 90 days.copy-asset-in-memory-webpack-pluginWeekly downloads on npm · Last 90 days9,175downloads / week-53.3% over 90 days010K20K30K40K50KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
copy-asset-in-memory-webpack-plugin weekly downloads on npm, last 90 days: 9,175 weekly downloads as of Dec 5, 2026, -53.3% over 90 days.

7/30/90-day growth

copy-asset-in-memory-webpack-plugin weekly downloads growth on npm: +104% over 7 days, +169% over 30 days, -53.3% over 90 days.copy-asset-in-memory-webpack-pluginWeekly downloads growth on npm9,175downloads / week now7-day growth+4,688 weekly downloads+104%30-day growth+5,760 weekly downloads+169%90-day growth-10,453 weekly downloads-53.3%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
copy-asset-in-memory-webpack-plugin weekly downloads growth on npm: +104% over 7 days, +169% over 30 days, -53.3% over 90 days.

Ranking history

copy-asset-in-memory-webpack-plugin npm ranking history: currently #1304 (by weekly downloads).copy-asset-in-memory-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#1304current rank#200#400#600#800#1000#1200#1400#1600Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
copy-asset-in-memory-webpack-plugin npm ranking history: currently #1304 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 66, #4 (overall #1,304)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 2, #15 (overall #35)
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 copy-asset-in-memory-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
9,175+35
9,140+2K
7,171+434
6,737+1.2K
5,568+564
5,004+452
4,552+65
4,487-53
4,540-939
5,479-203
5,682+800
4,882+881
4,001+262
3,739—

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/copy-asset-in-memory-webpack-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.