core-decorators

JSON →
library 0.20.0 ·javascript maintenance
verified May 1, 2026

Library of JavaScript stage-0 decorators (ES2016/ES7 proposal) inspired by Java annotations, providing commonly used decorators like @override, @deprecate, @autobind, @mixin, @readonly, @nonconfigurable, @decorate, @extendDescriptor, @time, @deprecated, @suppressWarnings. Current stable version is 0.20.0. This library targets the original stage-0 decorator proposal (not the current stage-2 spec) and is intended for use with Babel 5 or Babel 6 with babel-plugin-transform-decorators-legacy. Key differentiator: lightweight, focused on fundamental JavaScript decorators, framework-agnostic (React, Angular, etc.). TypeScript definitions are included but there are known incompatibilities with TypeScript's decorator implementation. Similar to lodash-decorators but more minimal. Release cadence is low (last release 0.20.0 in 2020).

total hits 19
actors 4 distinct systems
last hit 4d ago AhrefsBot
ByteDance
7
GPTBot
2
Humans
2

top countries 🇸🇬 Singapore · 🇩🇪 Germany · 🇨🇦 Canada · 🇺🇸 United States · 🇮🇳 India