# tc39/proposal-decorators

Decorators for ES6 classes

Repository: https://github.com/tc39/proposal-decorators
Canonical: https://ross.abutalabs.com/products/proposal-decorators
Homepage: https://arai-a.github.io/ecma262-compare/?pr=2417
License Family: other
Last push: 2026-06-23T18:47:26+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 35, longevity 100
- inputs: {"age_days": 3414, "days_push": 71, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2974, forks 117 (observed 2026-08-28T04:07:32.938304+00:00)

## What it is
The TC39 proposal repository for JavaScript decorators, a Stage 2.7 language extension for annotating and metaprogramming ES6 classes, class methods, fields, and accessors. It contains the specification text and design history for standardizing decorators in ECMAScript.

## Use cases
- understand how JavaScript decorators work
- track the standardization status of the decorators proposal
- learn to write custom class decorators
- check which class elements can be decorated in JS
- compare decorator proposal versions over time
- implement decorators in a transpiler or runtime

## When to choose
- you need authoritative, up-to-date specification details on the decorators proposal
- you are implementing or evaluating decorator support in a toolchain
- you want to follow the TC39 standardization process for decorators

## When to avoid
- you need a ready-to-use decorator library or runtime implementation
- you want legacy TypeScript 5 experimental decorators or Python-style decorators
- you need stable, finalized ECMAScript features rather than in-progress proposals

## Facets
- artifact type: learning-resource
- maturity: experimental
- function: programming-language, developer-tools
- domain: programming-languages, web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: ecmascript, tc39, javascript-proposal, decorators, specification, stage-2, metaprogramming, classes, nodejs

## Member repositories
- tc39/proposal-decorators (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:32.938304+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:31:36.237490+00:00, confidence not recorded.
  - readme: https://github.com/tc39/proposal-decorators (fetched 2026-08-28T04:07:32.938304+00:00, sha 241140059859)
  - homepage: https://arai-a.github.io/ecma262-compare/?pr=2417 (fetched 2026-08-29T09:47:08.223419+00:00, sha c40c71d742f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
