Skip to main content
Home
This package has been archived, and as such it is read-only.

Built and signed on GitHub Actions

Works with
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 Score100%
Published2 months ago (0.1.0)

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

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";