</>PackageGraphPackageGraph

rxjs

npmv7.8.2TypeScript

Reactive 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.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

4.3 MB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

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.

PackageWeekly downloadsDependentsLicenseLast release
rxjsthis page90.9M6Apache-2.01 year ago
object-is21.5M1MIT1 day ago
regexp.prototype.flags01MIT1 day ago

Dependencies

Declared by rxjs v7.8.2. Runtime dependencies are installed with the package; dev dependencies are not.

Runtime (1)

tslib ^2.1.0

Dev (61)

@angular-devkit/build-optimizer 0.4.6@angular-devkit/schematics ^11.0.7@swc/core ^1.2.128@swc/helpers ^0.3.2@types/chai ^4.2.11@types/lodash 4.14.102@types/mocha ^7.0.2@types/node ^14.14.6@types/shelljs ^0.8.8@types/sinon 4.1.3@types/sinon-chai 2.7.29@types/source-map ^0.5.2@typescript-eslint/eslint-plugin ^4.29.1@typescript-eslint/parser ^4.29.1babel-polyfill 6.26.0chai ^4.2.0check-side-effects 0.0.23color 3.0.0colors 1.1.2cross-env 5.1.3cz-conventional-changelog 1.2.0dependency-cruiser ^9.12.0escape-string-regexp 1.0.5eslint ^7.8.1eslint-plugin-jasmine ^2.10.1form-data ^3.0.0fs-extra ^8.1.0glob 7.1.2google-closure-compiler-js 20170218.0.0husky ^4.2.5klaw-sync 3.0.2lint-staged ^10.2.11lodash ^4.17.15minimist ^1.2.5mocha ^8.1.3nodemon ^1.9.2npm-run-all 4.1.2opn-cli 3.1.0platform 1.3.5prettier ^2.5.1promise 8.0.1rollup 0.66.6rollup-plugin-alias 1.4.0rollup-plugin-inject 2.0.0rollup-plugin-node-resolve 2.0.0shelljs ^0.8.4shx ^0.3.2sinon 4.3.0sinon-chai 2.14.0source-map-support 0.5.3systemjs ^0.21.0ts-node ^9.1.1tslint ^5.20.1tslint-config-prettier ^1.18.0tslint-etc 1.13.10tslint-no-toplevel-property-access 0.0.2tslint-no-unused-expression-chai 0.0.3typescript ~4.2.0validate-commit-msg 2.14.0web-streams-polyfill ^3.0.2webpack ^4.31.0

Used by

Popular packages that depend on rxjs.

Relationship graph

Dependencies (left) and dependents (right) of rxjs.

Frequently installed together

Release history

2 releases in the last two years, typically about 23 days apart.

Recent versions of rxjs
VersionPublishedSizeLicense
9.0.0-beta.01 month ago986 KBApache-2.0
7.8.2latest1 year ago4.3 MBApache-2.0
8.0.0-alpha.142 years ago2.4 MBApache-2.0
8.0.0-alpha.132 years ago2.4 MBApache-2.0
8.0.0-alpha.123 years ago2.4 MBApache-2.0
8.0.0-alpha.113 years ago2.4 MBApache-2.0
8.0.0-alpha.103 years ago2.5 MBApache-2.0
8.0.0-alpha.93 years ago4.0 MBApache-2.0
7.8.13 years ago4.3 MBApache-2.0
8.0.0-alpha.83 years ago3.9 MBApache-2.0
8.0.0-alpha.73 years ago4.2 MBApache-2.0
7.8.03 years ago4.3 MBApache-2.0
8.0.0-alpha.63 years ago4.2 MBApache-2.0
7.7.03 years ago4.3 MBApache-2.0
7.6.03 years ago4.3 MBApache-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.

Maintainers

Keywords

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.