rxjs
npmv7.8.2TypeScriptReactive Extensions for modern JavaScript
Adopt with care
rxjs is usable, with caveats. Last published 565 days ago. 2 releases in the last 2 years.
- AAdoption: grade A, Excellent.
90.9M downloads per week and 6 known dependents.
- CMaintenance: grade C, Fair — worth a look.
Last published 565 days ago. 2 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 4.3 MB installed (at least — some of the tree is still being crawled).
- ASupply chain: grade A, Excellent.
No install scripts, 3 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
Apache-2.0 — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding rxjs to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Compatibility
- Node.js
- No constraint declared
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the rxjs README.
import { range, filter, map } from 'rxjs';
range(1, 200)
.pipe(
filter(x => x % 2 === 1),
map(x => x + x)
)
.subscribe(x => console.log(x));rxjs vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| rxjsthis page | 90.9M | 6 | Apache-2.0 | 1 year ago |
| object-is | 21.5M | 1 | MIT | 1 day ago |
| regexp.prototype.flags | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by rxjs v7.8.2. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (61)
Used by
Popular packages that depend on rxjs.
Predictable state container for JavaScript apps
Angular - the core framework
Zones for JavaScript
Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol
A high-level API to control headless Chrome over the DevTools Protocol
Require hook for automatic V8 compile cache persistence
Relationship graph
Dependencies (left) and dependents (right) of rxjs.
Frequently installed together
TypeScript definitions for node
Better typed `querySelector` and `querySelectorAll`.
Angular - the compiler library
An implementation of the WebDriver BiDi protocol for Chromium implemented as a JavaScript layer translating between BiDi and CDP, running inside a Chrome tab.
Download and launch browsers
Zones for JavaScript
The Chrome DevTools Protocol JSON
TypeScript definitions for ws
This repository contains TypeScript types conforming to the [WebDriver BiDi](https://w3c.github.io/webdriver-bidi/) specification. It also supports WebDriver BiDi extension modules defined in other specifications:
Polyfill for the URLPattern API
Delightful JavaScript Testing.
JavaScript parser and stringifier for YAML
Release history
2 releases in the last two years, typically about 23 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 9.0.0-beta.0 | 1 month ago | 986 KB | Apache-2.0 |
| 7.8.2latest | 1 year ago | 4.3 MB | Apache-2.0 |
| 8.0.0-alpha.14 | 2 years ago | 2.4 MB | Apache-2.0 |
| 8.0.0-alpha.13 | 2 years ago | 2.4 MB | Apache-2.0 |
| 8.0.0-alpha.12 | 3 years ago | 2.4 MB | Apache-2.0 |
| 8.0.0-alpha.11 | 3 years ago | 2.4 MB | Apache-2.0 |
| 8.0.0-alpha.10 | 3 years ago | 2.5 MB | Apache-2.0 |
| 8.0.0-alpha.9 | 3 years ago | 4.0 MB | Apache-2.0 |
| 7.8.1 | 3 years ago | 4.3 MB | Apache-2.0 |
| 8.0.0-alpha.8 | 3 years ago | 3.9 MB | Apache-2.0 |
| 8.0.0-alpha.7 | 3 years ago | 4.2 MB | Apache-2.0 |
| 7.8.0 | 3 years ago | 4.3 MB | Apache-2.0 |
| 8.0.0-alpha.6 | 3 years ago | 4.2 MB | Apache-2.0 |
| 7.7.0 | 3 years ago | 4.3 MB | Apache-2.0 |
| 7.6.0 | 3 years ago | 4.3 MB | Apache-2.0 |
Overview
rxjs is an npm package that reactive Extensions for modern JavaScript. It is extremely widely used, with about 90.9M downloads per week and 6 known dependents in the graph. The latest version is 7.8.2, released under the Apache-2.0 license.
Who should use it
Teams working in the npm ecosystem who need reactive Extensions for modern JavaScript and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (90.9M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (Apache-2.0).
Cons
- Large dependency tree (62 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use rxjs?
rxjs is usable, with caveats. Last published 565 days ago. 2 releases in the last 2 years.
How do I install rxjs?
Run `npm install rxjs` to add rxjs to your npm project.
How many dependencies does rxjs have?
rxjs declares 62 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 4.3 MB on disk.
What license is rxjs released under?
rxjs is distributed under the Apache-2.0 license.
How popular is rxjs?
rxjs has approximately 90,920,687 downloads per week and 6 known dependent packages.
Is rxjs still maintained?
The most recent release of rxjs (v7.8.2) was published 1 year ago.
Does rxjs run install scripts?
No. rxjs does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.