RxJS
Reactive programming library for composing async events and data streams in JavaScript.
State and data fetching npm Apache-2.0
Used in agent projects
176
1.4% of 12,697 public repos built with AI coding agents
Rank in state and data fetching
#3 of 20
by use in those projects
Downloads
104M
npm, last 7 days, rxjs
GitHub stars
31.7K
last push Aug 8, 2026
How RxJS is used
RxJS is a dependency in 176 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.4%), #3 of 20 in state and data fetching. The most used alternative there is TanStack Query. Projects that use it most often also use Prettier (68.2%), Angular (57.4%), ts-node (43.2%).
Often used with RxJS
| Prettier | 68.2% of RxJS projects · 3.9× more than average |
|---|---|
| Angular | 57.4% of RxJS projects · 70.1× more than average |
| ts-node | 43.2% of RxJS projects · 6.3× more than average |
| Vitest | 45.5% of RxJS projects · 3.7× more than average |
| TypeScript | 97.7% of RxJS projects · 1.7× more than average |
| jsdom | 39.8% of RxJS projects · 7.4× more than average |
| Jest | 32.4% of RxJS projects · 5.9× more than average |
| angular-eslint | 31.2% of RxJS projects · 72.1× more than average |
By coding agent
| GitHub Copilot | 2.8% of projects set up for it |
|---|---|
| Claude Code | 1.8% of projects set up for it |
| Cursor | 2.3% of projects set up for it |
| Gemini CLI | 3.4% of projects set up for it |
| OpenCode | 3.8% of projects set up for it |
| OpenAI Codex | 2.7% of projects set up for it |
| Devin Desktop | 3.3% of projects set up for it |
Share of public repos configured for each agent that list RxJS as a dependency.
Install
| Package | npm install rxjs |
|---|---|
| Main stacks | TypeScript / JavaScript (168), Python (4), Next.js (3), Go (1) |
| Example projects | NG-ZORRO/ng-zorro-antd, ngxtension/ngxtension-platform, hzrd149/nostrudel, realworld-angular/realworld-angular, near/wallet-selector |
Alternatives to RxJS
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| TanStack Query npm Hooks for managing, caching and synchronizing remote data in React. |
1,217 (9.6%) | 65.8M | 50.4K | MIT |
| Zustand npm Lightweight state management for React with minimal boilerplate. |
752 (5.9%) | 60.8M | 58.8K | MIT |
| React Redux npm Official React bindings for Redux state management with hooks. |
135 (1.1%) | 39.2M | 23.4K | MIT |
| Jotai npm Minimal React state management with atoms as primitive building blocks for flexibility. |
124 (1.0%) | 6.6M | 21.3K | MIT |
| SWR npm React hooks library for data fetching with caching, revalidation and real-time updates. |
123 (1.0%) | 18.8M | 32.5K | MIT |
| Redux Toolkit npm Official Redux library with built-in best practices and reduced boilerplate for state management. |
120 (0.9%) | 32.6M | 11.2K | MIT |
| Immer npm Immutable state management by mutating a draft in a simpler API. |
77 (0.6%) | 64.6M | 29K | MIT |
| Pinia npm Intuitive, type-safe state management store for Vue applications. |
69 (0.5%) | 5.2M | 14.7K | MIT |