Skip to content
PluginStats

@popup-maker-pro/custom-templated-path-webpack-plugin weekly downloads statistics

By popup-maker-pro · npm · Webpack plugins

Webpack plugin for creating custom path template tags.

View on npm Fresh · Oct 18, 2026

@popup-maker-pro/custom-templated-path-webpack-plugin has 12 recorded weekly downloads on npm, a decrease of 88.6% over the past 30 days, ranking #2016 of 2,322 tracked listings.

Weekly downloads
12
Official API · Oct 18, 2026
7-day growth
+200%
+8 weekly downloads
30-day growth
-88.6%
-93 weekly downloads
90-day growth
-82.4%
-56 weekly downloads
Rank
#2016
Among tracked npm listings

About @popup-maker-pro/custom-templated-path-webpack-plugin

Custom Templated Path Webpack Plugin

Webpack plugin for creating custom path template tags. Extend the default set of template tags with your own custom behavior. Hooks into Webpack's compilation process to allow you to replace tags with a substitute value.

Installation

Install the module

npm install @popup-maker/custom-templated-path-webpack-plugin --save-dev

Note: This package requires Node.js 12.0.0 or later. It targets Webpack 4.0 and newer. It is not compatible with older versions.

Usage

Construct an instance of CustomTemplatedPathPlugin in your Webpack configurations plugins entry, passing an object where keys correspond to the template tag name. The value for each key is a function passed the original intended path and data corresponding to the asset.

The following example creates a new basename tag to substitute the basename of each entry file in the build output file. When compiled, the built file will be output as build-entry.js.

const { basename } = require( 'path' );
const CustomTemplatedPathPlugin = require( '@popup-maker/custom-templated-path-webpack-plugin' );

module.exports = {
 // ...

 entry: './entry',

 output: {
  filename: 'build-[basename].js',
 },

 plugins: [
  new CustomTemplatedPathPlugin( {
   basename( path, data ) {
    let rawRequest;

    const entryModule = get( data, [ 'chunk', 'entryModule' ], {} );
    switch ( entryModule.type ) {
     case 'javascript/auto':
      rawRequest = entryModule.rawRequest;
      break;

     case 'javascript/esm':
      rawRequest = entryModule.rootModule.rawRequest;
      break;
    }

    if ( rawRequest ) {
     return basename( rawRequest );
    }

    return path;
   },
  } ),
 ],
};

For more examples, refer to Webpack's own TemplatedPathPlugin.js, which implements the base set of template tags.

Contributing to this package

This is an individual package that's part of the Gutenberg project. The project is organized as a monorepo. It's made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to npm and used by WordPress as well as other software projects.

To find out more about contributing to this package or Gutenberg as a whole, please read the project's main contributor guide.

Description from the npm listing.

  • wordpress
  • gutenberg
  • webpack
  • plugin
  • webpack-plugin

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

@popup-maker-pro/custom-templated-path-webpack-plugin weekly downloads on npm, last 90 days: 12 weekly downloads as of Oct 18, 2026, -82.4% over 90 days.@popup-maker-pro/custom-templated-path…Weekly downloads on npm · Last 90 days12downloads / week-82.4% over 90 days050100150200250300350Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@popup-maker-pro/custom-templated-path-webpack-plugin weekly downloads on npm, last 90 days: 12 weekly downloads as of Oct 18, 2026, -82.4% over 90 days.

7/30/90-day growth

@popup-maker-pro/custom-templated-path-webpack-plugin weekly downloads growth on npm: +200% over 7 days, -88.6% over 30 days, -82.4% over 90 days.@popup-maker-pro/custom-templated-path…Weekly downloads growth on npm12downloads / week now7-day growth+8 weekly downloads+200%30-day growth-93 weekly downloads-88.6%90-day growth-56 weekly downloads-82.4%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@popup-maker-pro/custom-templated-path-webpack-plugin weekly downloads growth on npm: +200% over 7 days, -88.6% over 30 days, -82.4% over 90 days.

Ranking history

@popup-maker-pro/custom-templated-path-webpack-plugin npm ranking history: currently #2016 (by weekly downloads).@popup-maker-pro/custom-templated-path…npm ranking · by weekly downloads · Last 90 days#2016current rank#2000#2050#2100#2150#2200#2250Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@popup-maker-pro/custom-templated-path-webpack-plugin npm ranking history: currently #2016 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 101, #20 (overall #2,020)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins251 listings · 13 pages · page 11, #2 (overall #202)
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 (122)
Recent weekly downloads observations for @popup-maker-pro/custom-templated-path-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
12+11
1-3
40
40
40
40
40
4+1
3+3
0-1
1-1
20
20
2—

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/@popup-maker-pro/custom-templated-path-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.