Preparing for system design interviews?  Try bugzed.com →

TypeScript Transformer for Removing JSX Test IDs

JSON →
library 1.1.0 ·javascript
verified Jun 17, 2026

This package provides a TypeScript transformer designed to automatically strip `data-test-id` and `data-testid` attributes from JSX elements during the build process, primarily for production builds. It helps clean up the final DOM, removing attributes that are only relevant for testing and debugging, thus preventing unnecessary bloat or exposure of internal testing concerns. The current stable version is 1.1.0, released in October 2020. This project does not follow a strict release cadence, with updates being made as needed. A key differentiator is its implementation as a TypeScript transformer, offering integration into TypeScript compilation workflows (e.g., via webpack with `ts-loader`), as opposed to similar solutions built as Babel plugins.

total hits 10
actors 3 distinct systems
last hit 15d ago AhrefsBot
ChatGPT-User
5
Script
1

top countries 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇺🇸 United States · 🇵🇱 Poland · 🇩🇪 Germany