# google/jsaction

JsAction is a small event delegation library that decouples event binding from the code that can handle the event.

Repository: https://github.com/google/jsaction
Canonical: https://ross.abutalabs.com/products/jsaction
Language: JavaScript
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2024-05-16T20:18:45+00:00

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

## Adoption (not part of the score)
Stars 1073, forks 66 (observed 2026-08-28T04:03:28.858280+00:00)

## What it is
JsAction is a small JavaScript event delegation library from Google that decouples event binding from the code that handles events. The repository has been archived and migrated to the angular/angular repository for ongoing development.

## Use cases
- delegate DOM events efficiently across a large page
- decouple event binding from event handler code
- reduce memory usage from many event listeners
- handle events on dynamically added elements
- migrate event handling into Angular's event dispatch primitives

## When to choose
- you need lightweight event delegation in a plain JavaScript app
- you want to attach few listeners and dispatch events to many handlers
- you are studying how Angular's event dispatch primitives work

## When to avoid
- you need actively maintained code - the repo is archived and unmaintained
- you are starting a new project - use the angular/angular primitives instead
- you need a full frontend framework rather than a small utility

## Facets
- artifact type: library
- maturity: abandoned
- function: middleware, developer-tools
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: event-delegation, event-handling, archived, google, javascript

## Member repositories
- google/jsaction (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:28.858280+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-30T06:53:36.939359+00:00, confidence not recorded.
  - readme: https://github.com/google/jsaction (fetched 2026-08-28T04:03:28.858280+00:00, sha 8e15c157e1ab)
  - registry_npm: https://registry.npmjs.org/jsaction (fetched 2026-08-29T12:55:21.258422+00:00, sha 5c70a4f36731)
- Data as of 2026-08-30T08:39:29.467469+00:00.
