# jayphelps/core-decorators

Library of stage-0 JavaScript decorators (aka ES2016/ES7 decorators but not accurate) inspired by languages that come with built-ins like @​override, @​deprecate, @​autobind, @​mixin and more. Popular with React/Angular, but is framework agnostic.

Repository: https://github.com/jayphelps/core-decorators
Canonical: https://ross.abutalabs.com/products/core-decorators
Language: JavaScript
License: MIT
License Family: permissive
Archived: true
Last push: 2020-07-15T20:50:23+00:00

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

## Adoption (not part of the score)
Stars 4491, forks 254 (observed 2026-08-28T04:08:51.319487+00:00)

## What it is
A library of stage-0 JavaScript decorators such as @override, @deprecate, @autobind, and @mixin, inspired by built-in annotations in other languages. It is framework agnostic and popular with React and Angular users, but is now effectively unmaintained.

## Use cases
- automatically bind class methods to instances with @autobind
- mark methods as deprecated with runtime warnings
- enforce method overrides with @override
- mix behavior into classes with @mixin
- prevent class instantiation with @readonly-style guards

## When to choose
- you are maintaining a legacy codebase already using stage-0 decorators with Babel 5 or legacy transform plugins
- you need simple runtime decorator utilities in an older JS toolchain

## When to avoid
- starting a new project, since the decorators spec has changed and the library is unmaintained
- you use TypeScript or modern Babel with stage-2/3 decorators, which are incompatible
- you need guaranteed long-term support or security updates

## Facets
- artifact type: library
- maturity: abandoned
- function: developer-tools
- domain: developer-tools, web-development
- platform: cross-platform
- tags: decorators, javascript, es7, autobind, mixin, deprecate, react, angular, nodejs

## Member repositories
- jayphelps/core-decorators (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:51.319487+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-29T18:20:28.749962+00:00, confidence not recorded.
  - readme: https://github.com/jayphelps/core-decorators (fetched 2026-08-28T04:08:51.319487+00:00, sha a30c73d01d5d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
