decorator-transforms
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 19
actors 5 distinct systems
last hit 18d ago ByteDance
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · MY · AE
Resources
API endpoints
full doc /v1/registry/decorator-transforms
compatibility /v1/registry/decorator-transforms/compatibility