Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

RxJS

Reactive programming library for composing async events and data streams in JavaScript.

State and data fetchingNPM

GitHubWebsite

1. License

License from npm.

github.com/reactivex/rxjs

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What RxJS does

The RxJS repository now holds a rewrite for RxJS 9 that runs on the browser's native <code>Observable</code> and exposes operators as Symbols, while the package you get from npm today is still the RxJS 7 line.

RxJS popularity

79 / 100
Gid Score, #116 overall
148M
downloads a week, npm
31.7K
GitHub stars
134
agent projects use it
RxJS: downloads per weeknpm, rxjs 148,175,398
RxJS: GitHub starsreactivex/rxjs 31,720

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How RxJS is used

  • RxJS is a dependency in 134 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.8% of the 4,867 JavaScript/TypeScript ones), #3 of 53 in state and data fetching.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 272; those are left out of every share on this page.
  • Projects that use it most often also use Angular (67.9%), Prettier (69.4%), jsdom (50.0%).

By coding agent

85 projects, 2.8%
63 projects, 1.9%
59 projects, 2.4%
15 projects, 3.2%
13 projects, 3.8%
12 projects, 2.6%
9 projects, 3.2%

Often used with

In 67.9% of its projects
In 69.4% of its projects
In 50.0% of its projects
In 99.3% of its projects
In 41.0% of its projects
In 58.2% of its projects
In 38.8% of its projects
In 32.1% of its projects

RxJS in practice

Strengths

RxJS 9 defers to the native Observable

The README says RxJS 9 uses the web platform's own <code>Observable</code> when the runtime has one. It installs a conforming fallback only when needed, and that fallback ships as a separate <code>@rxjs/observable-polyfill</code> package.

Operators don't patch the platform type

In RxJS 9, operators are module-owned Symbols. You call them as <code>observable[map](fn)</code>, so the platform's own <code>observable.map</code> stays a separate contract.

One ESM build across runtimes

The README says every supported environment gets the same ESM files. Chrome, Firefox, Safari, Deno, Bun and Webpack 5 are listed as blocking test targets.

RxJS 7 is still maintained

Projects on the current npm release are not left behind. The README says RxJS 7 remains the production line and continues to receive maintenance while RxJS 9 is in development.

Watch out for

RxJS 9 is not installable yet

The planned <code>9.0.0-beta.0</code> has not been published. The npm <code>next</code> tag still points to an older RxJS 8 prerelease, so the README warns against using it to get RxJS 9.

ESM-only from version 9

RxJS 9 ships no CommonJS build. CommonJS consumers depend on current Node bridging <code>require()</code> to the ESM files.

Node 22.13+ for the planned beta

The planned beta supports Node 22.13+ and Node 24 as blocking lanes. Node 26 is in an advisory lane. No older Node versions are listed.

Preview of the planned RxJS 9 API (not yet on npm)

import { ColdObservable } from 'rxjs';
import { map } from 'rxjs/map';

const source = new ColdObservable<number>((subscriber) => {
  subscriber.next(1);
  subscriber.next(2);
  subscriber.complete();
});

source[map]((value) => value * 2).subscribe(console.log);

More about RxJS

Packages around it
  • @angular: Angular framework
  • prettier: Code formatter
  • jsdom: DOM emulation for tests
  • typescript: Typed JavaScript compiler
  • angular-eslint: ESLint rules for Angular
  • vitest: Test runner
More in State and data fetching

Alternatives

RxJS This page

Apache-2.0Gid 79148M/wk

Compare RxJS with another tool

Get started

Install it.

npm install rxjs

Rules for your agent

Paste into AGENTS.md or CLAUDE.md
## RxJS
- The npm `latest` line is RxJS 7. Do not apply the RxJS 9 API to a project unless it actually has RxJS 9 installed.
- Do not install RxJS 9 through npm's `next` tag. It still points to the earlier RxJS 8 prerelease, and `9.0.0-beta.0` is not published yet.
- In RxJS 9, import each operator Symbol from its own module, for example `import { map } from 'rxjs/map'`, and call it with bracket syntax: `source[map](fn)`.
- In RxJS 9, do not confuse `observable.map(project)` (the platform contract) with `observable[map](project)` (the RxJS contract).
- In RxJS 9, use `ColdObservable` when each direct subscription must create its own producer.
- RxJS 9 publishes ESM only and cancellation is built on `AbortSignal`. Do not look for a CommonJS build.
- When moving from RxJS 7, follow the RxJS 7 migration guide and the `@rxjs/migrate` package. Do not assume behavior is identical.