Skip to content
PluginStats

remove-attr weekly downloads statistics

By mustafadalga · npm · Vite plugins

A Vite plugin designed specifically for Vue.js projects that allows the removal of specified attributes in production builds. Useful for excluding attributes like 'data-testid' used in testing. Options include specific file extensions, attributes, ignored

View on npm Fresh · Oct 17, 2026

remove-attr has 2,998 recorded weekly downloads on npm, a decrease of 49.2% over the past 30 days.

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

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

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

Weekly downloads
2,998
Official API · Oct 17, 2026
7-day growth
-43.7%
-2.3K weekly downloads
30-day growth
-49.2%
-2.9K weekly downloads
90-day growth
-63.2%
-5.2K weekly downloads
Rank
#1203
Among tracked npm listings

About remove-attr

Vite Plugin - Remove Attributes

This Vite plugin is specifically designed for Vue.js projects. It allows the removal of specified attributes in production builds, supporting a variety of options like file extensions, attributes, ignored folders, and files.

Table of Contents

• Features • Installation • Usage • Prerequisites • Examples • License

Features

1. Removes specified attributes in production builds of Vue.js projects. 2. Allows you to specify the file extensions to be considered. 3. Can ignore certain folders or files based on configuration. 4. Ensures clean production code by removing unnecessary attributes, like 'data-testid' used in testing.

Installation

You can install this plugin through npm:

Usage

Prerequisites

To use this plugin, you need to have a Vite project set up. Import and use the plugin in your vite.config.js or vite.config.ts file.

Examples

Example 1: Removing 'data-testid' attributes from '.vue' files

This configuration will remove 'data-testid' attributes from all '.vue' files in the production build.

Example 2: Ignoring specific folders and files

This configuration will remove 'data-testid' and 'data-id' attributes from all '.vue', '.ts', and '.js' files, with the exception of those in the 'src/tests' and 'src/utilities' folders, as well as the 'Home.vue', 'src/components/Modal.vue', and 'src/layouts/LayoutAuth.vue' files.

License

Description from the npm listing.

  • vite
  • vite-plugin
  • vue
  • vuejs
  • remove-attributes
  • html
  • build-tool
  • javascript
  • typescript
  • optimization
  • web-development

Where remove-attr 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 61, #3 (overall #1203)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 12, #12 (overall #232)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

remove-attr weekly downloads on npm, last 90 days: 2,998 weekly downloads as of Oct 17, 2026, -63.2% over 90 days.remove-attrWeekly downloads on npm · Last 90 days2,998downloads / week-63.2% over 90 days2K3K4K5K6K7K8K9KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
remove-attr weekly downloads on npm, last 90 days: 2,998 weekly downloads as of Oct 17, 2026, -63.2% over 90 days.
PNG SVG

7/30/90-day growth

remove-attr weekly downloads growth on npm: -43.7% over 7 days, -49.2% over 30 days, -63.2% over 90 days.remove-attrWeekly downloads growth on npm2,998downloads / week now7-day growth-2,324 weekly downloads-43.7%30-day growth-2,900 weekly downloads-49.2%90-day growth-5,154 weekly downloads-63.2%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
remove-attr weekly downloads growth on npm: -43.7% over 7 days, -49.2% over 30 days, -63.2% over 90 days.
PNG SVG

Ranking history

remove-attr npm ranking history: currently #1203 (by weekly downloads).remove-attrnpm ranking · by weekly downloads · Last 90 days#1203current rank#1201#1202#1203#1204#1205Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
remove-attr npm ranking history: currently #1203 (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 remove-attr
Date (UTC)Weekly downloadsChange vs. previous
2,998-274
3,272-4
3,276-1.6K
4,878-1.7K
6,6210
6,621+1.3K
5,302-20
5,322+89
5,233+121
5,112+196
4,916+536
4,380-1.5K
5,834-1.5K
7,286—

Similar npm Vite 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/remove-attr. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.