{"library":"decorator-transforms","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"2.3.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install decorator-transforms","imports":["plugins: ['module:decorator-transforms']","import 'decorator-transforms/globals'","import * as runtime from 'decorator-transforms/runtime'"]},{"cmd":"yarn add decorator-transforms","imports":[]},{"cmd":"pnpm add decorator-transforms","imports":[]}],"homepage":null,"github":"https://github.com/ef4/decorator-transforms","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/decorator-transforms","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/decorator-transforms/compatibility"}}