Skip to main content
Home

Built and signed on GitHub Actions

A lightweight, RxJS-inspired library implementing the Observer pattern in JavaScript. Features BroadcastSubjects with AbortController-based unsubscription, supporting both synchronous and asynchronous producers.

This package works with Node.js, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
100%
Published
4 days ago (0.1.0)

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.

Add Package

pnpm i jsr:@xan/broadcast-subject
or (using pnpm 10.8 or older)
pnpm dlx jsr add @xan/broadcast-subject

Import symbol

import { type BroadcastSubjectConstructor } from "@xan/broadcast-subject";

Add Package

yarn add jsr:@xan/broadcast-subject
or (using Yarn 4.8 or older)
yarn dlx jsr add @xan/broadcast-subject

Import symbol

import { type BroadcastSubjectConstructor } from "@xan/broadcast-subject";

Add Package

vlt install jsr:@xan/broadcast-subject

Import symbol

import { type BroadcastSubjectConstructor } from "@xan/broadcast-subject";

Add Package

npx jsr add @xan/broadcast-subject

Import symbol

import { type BroadcastSubjectConstructor } from "@xan/broadcast-subject";

Add Package

bunx jsr add @xan/broadcast-subject

Import symbol

import { type BroadcastSubjectConstructor } from "@xan/broadcast-subject";