olov/ng-annotate
Add, remove and rebuild AngularJS dependency injection annotations observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4747
- days_rel: n/a
- days_push: 2364
- n_releases_24m: 0
Adoption not part of the score
2003 stars · 150 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ng-annotate is a JavaScript tool that adds, removes, and rebuilds AngularJS dependency injection annotations, usable both as a CLI and a library. It uses static analysis to detect AngularJS patterns so code can be safely minified.
Use cases
- add angularjs dependency injection annotations before minification
- remove di annotations from an existing codebase
- rebuild annotations after refactoring controller parameters
- annotate angularjs code using ngInject prologue directives
- prepare angularjs source for uglify or other minifiers
When to choose
- you maintain a legacy AngularJS 1.x codebase that needs DI annotations for safe minification
- you need to strip or rebuild checked-in annotations during refactoring
When to avoid
- you are starting a new project (AngularJS is end-of-life)
- you use modern Angular (2+), which does not need this tool
- you want an actively maintained tool - use babel-plugin-angularjs-annotate instead
Facets
cli-tool · maturity abandoned
parser build-tool developer-tools web-development frontend developer-tools cli cross-platform angularjs dependency-injection annotations minification code-transformation deprecated nodejs
2 sources
- readme: https://github.com/olov/ng-annotate · fetched 2026-08-28 · 3e97e3ce8377
- registry_npm: https://registry.npmjs.org/ng-annotate · fetched 2026-08-29 · bd3fb7aed25d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| olov/ng-annotate | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="olov/ng-annotate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem