{"library":"babel-plugin-transform-typescript-metadata","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.4.0","tags":["javascript","babel","babel-plugin","babel-typescript","decorators","reflect-metadata","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-typescript-metadata","imports":["// In your Babel configuration file (e.g., .babelrc.js or babel.config.js):\nmodule.exports = {\n  plugins: [\n    \"babel-plugin-transform-typescript-metadata\",\n    // ... other plugins, ensuring this one is first\n  ],\n};\n"]},{"cmd":"yarn add babel-plugin-transform-typescript-metadata","imports":[]},{"cmd":"pnpm add babel-plugin-transform-typescript-metadata","imports":[]}],"homepage":null,"github":"https://github.com/leonardfactory/babel-plugin-transform-typescript-metadata","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-typescript-metadata","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-transform-typescript-metadata/compatibility"}}