Ross ROSS = Recommend OSS · open-source software intelligence for agents

ai/nanoevents

Simple and tiny (107 bytes) event emitter library for JavaScript observed · 2026-08-28

github.com/ai/nanoevents · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

84/100

  • Activity 93
  • Release rhythm 62
  • Longevity 100
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: 645
  • age_days: 3634
  • days_rel: 42
  • days_push: 42
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1635 stars · 52 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A tiny (108 bytes) event emitter library for JavaScript with only `on` and `emit` methods. It supports typed events via TypeScript and returns unbind functions from listeners.

Use cases

  • add a lightweight pub/sub event system to a JavaScript app
  • emit and subscribe to custom events in a TypeScript project
  • mix event emitter behavior into a class
  • replace Node.js EventEmitter in a browser bundle to save bytes
  • unbind event listeners without keeping callback references

When to choose

  • you need a minimal, dependency-free event emitter for browser or ES module code
  • bundle size is critical and you only need on/emit
  • you want typed events with TypeScript

When to avoid

  • you need Node.js EventEmitter compatibility like once, removeListener, or max listeners
  • you need wildcard events, namespaces, or async listeners
  • you need a full-featured event bus with aliases

Facets

library · maturity stable

middleware developer-tools web-development frontend developer-tools browser cross-platform event-emitter pub-sub tiny-library typescript es-modules nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
ai/nanoeventsmain84

For agents

markdown · JSON · MCP: product_card(name="ai/nanoevents")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem