Skip to main content
Home

A minimalistic and dependency-free event mediator with internal context for front-end.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
a year ago (1.3.0)
T
AtLeastOneOf

Requires at least one property of T.

f
createMediator

Creates a Mediator instance with a specific initial context.

T
JSONArray

Represents a array of of JSON serializable values.

T
JSONObject

Represents a dictionary (object) with string keys and values of type JSONValue.

T
JSONPrimitive

Represents a JSON primitive serializable value that can be a string, number, boolean, or null.

T
JSONValue

Represents a JSON serializable value that can be a primitive, a array, or a object.

I
Mediator
No documentation available
T
MediatorContext

Represents a context for the Mediator, which is a JSON serializable object.

T
MediatorContextModifier

Represents a context modifier function for Mediator events.

T
MediatorEventListener

Represents a listener function for Mediator events.

T
WildcardEvent

Represents an event that acts as a wildcard, matching any event.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.