Preparing for system design interviews?  Try bugzed.com →

decorator-transforms

JSON →
library 2.3.1 ·javascript
verified Jun 17, 2026

A Babel plugin that transforms JavaScript decorators (legacy TC39 stage 1) into simpler, smaller code using modern features like class static blocks, private fields, and WeakMap. Current stable version is 2.3.1, released December 2025, with minor/patch releases every few months. Key differentiators vs @babel/plugin-proposal-decorators: significantly smaller output, avoids transpiling other class features, built-in browser compatibility options. Supports both legacy and loose mode decorators, aims for bug-for-bug compatibility with Babel's legacy decorator transform. Includes a runtime helper for decorator initialization.

total hits 19
actors 5 distinct systems
last hit 18d ago ByteDance
GPTBot
4
Amazonbot
4
ByteDance
2
Script
1
Humans
4

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · MY · AE