stacks-events

Official

Lightweight event emitter for Stacks apps.

Authorstacksjs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Dispatch and listen to events in a Stacks application, enabling clean, decoupled communication between components, models, and actions.

Core Features & Use Cases

  • Tiny, Mitt-based event emitter that exposes dispatch/listen/off/emitter and wildcard support.
  • Integrates with app/Events.ts and app/Listener.ts to drive action-based event resolution.
  • Supports model events when models are observed, and provides a consistent event flow across frontend, API, and background tasks.

Quick Start

Import the Stacks event module and start emitting and listening for events in your code.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: stacks-events
Download link: https://github.com/stacksjs/stacks/archive/main.zip#stacks-events

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.