npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rotorsoft/act-sse

v1.2.7

Published

Incremental state broadcast over SSE for act apps

Readme

@rotorsoft/act-sse

NPM Version NPM Downloads License: MIT

Incremental state broadcast over Server-Sent Events for @rotorsoft/act event-sourced apps.

[!WARNING] This package is being deprecated. Its surface lives on as the @rotorsoft/act-http/sse subpath of the @rotorsoft/act-http umbrella package, which consolidates webhook and SSE integrations under one install.

New projects: install @rotorsoft/act-http and import from the /sse subpath. Existing projects: migration is a one-import change (see below). This package will receive bug fixes only and be removed in a future release.

Migration to @rotorsoft/act-http/sse

@rotorsoft/act-http/sse is a verbatim copy of this package's surface — same classes, same functions, same wire format, same semantics. Migration is one import change per file:

- import { BroadcastChannel, applyPatchMessage } from "@rotorsoft/act-sse";
+ import { BroadcastChannel, applyPatchMessage } from "@rotorsoft/act-http/sse";

Then:

pnpm remove @rotorsoft/act-sse
pnpm add @rotorsoft/act-http

The umbrella package keeps SSE and webhook as independent subpath exports (@rotorsoft/act-http/sse and @rotorsoft/act-http/webhook) — nothing in one depends on the other, so the bundle cost is the same. Future HTTP-adjacent integrations (OAuth refresh, signed-webhook senders, gRPC-web) will land as additional subpaths rather than separate packages.

What this package does (legacy)

Instead of sending full aggregate state after each action, act-sse forwards the domain patches that event handlers already compute — sending only what changed as version-keyed partials. The wire format, server surface (BroadcastChannel, PresenceTracker, StateCache, publishOverlay), and client patch applicator (applyPatchMessage) are all preserved unchanged in @rotorsoft/act-http/sse.

For the full reference (architecture diagram, wire format, server + client usage, version contract, bandwidth savings), see the @rotorsoft/act-http README.

Installation (legacy)

Still works. New projects should use @rotorsoft/act-http instead.

pnpm add @rotorsoft/act-sse

Stability

Public API governed by the Act Stability Charter — but this package is on the deprecation track. New work goes to @rotorsoft/act-http/sse.

Related packages

Documentation

License

MIT