Babel Plugin: TypeScript Decorator Metadata
JSON →This Babel plugin enables the emission of design-time type metadata for TypeScript decorators when transpiling with Babel. It replicates the functionality provided by the TypeScript compiler's `emitDecoratorMetadata` flag, which is essential for frameworks and libraries like NestJS and TypeORM that rely on runtime type reflection for features such as Dependency Injection. The current stable version is `0.4.0`, released in October 2025, which introduced support for Babel 8. The project has a relatively slow release cadence, indicating a maintenance-driven development. It differentiates itself by bridging a crucial gap in Babel's TypeScript preset, allowing developers to leverage advanced decorator patterns without needing the TypeScript compiler for compilation.
Traffic · last 30 days ↓29% vs prev 7d
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France