{
 "kind": "tool",
 "slug": "rxjs",
 "path": "tools/rxjs/",
 "name": "RxJS",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "State and data fetching",
   "tools/state-data/"
  ]
 ],
 "lead": "Reactive programming library for composing async events and data streams in JavaScript.",
 "chips": [
  {
   "label": "State and data fetching",
   "path": "tools/state-data/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install rxjs"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/reactivex/rxjs"
  },
  {
   "label": "Website",
   "href": "https://rxjs.dev"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/reactivex/rxjs"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 19, 2026",
   "note": "",
   "src": "https://github.com/reactivex/rxjs"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "134 projects",
   "status": "info",
   "sub": "#3 of 53 in its category",
   "note": "Dependency in 134 public GitHub projects set up for AI coding agents that we scanned (2.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What RxJS does",
   "parts": [
    {
     "t": "prose",
     "text": "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."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "RxJS popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "79",
       "of": "/ 100",
       "l": "Gid Score, #116 overall"
      },
      {
       "n": "148M",
       "l": "downloads a week, npm"
      },
      {
       "n": "31.7K",
       "l": "GitHub stars"
      },
      {
       "n": "134",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How RxJS is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "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%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "85 projects, 2.8%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "63 projects, 1.9%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "59 projects, 2.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "15 projects, 3.2%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "13 projects, 3.8%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "12 projects, 2.6%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "9 projects, 3.2%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 67.9% of its projects",
       "v": "Angular",
       "path": "tools/angular/"
      },
      {
       "l": "In 69.4% of its projects",
       "v": "Prettier",
       "path": "tools/prettier/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "jsdom",
       "path": "tools/jsdom/"
      },
      {
       "l": "In 99.3% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 41.0% of its projects",
       "v": "angular-eslint",
       "path": "tools/angular-eslint/"
      },
      {
       "l": "In 58.2% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 38.8% of its projects",
       "v": "ts-node",
       "path": "tools/ts-node/"
      },
      {
       "l": "In 32.1% of its projects",
       "v": "Jest",
       "path": "tools/jest/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "RxJS in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "RxJS 9 defers to the native Observable",
       "v": "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."
      },
      {
       "l": "Operators don't patch the platform type",
       "v": "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."
      },
      {
       "l": "One ESM build across runtimes",
       "v": "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."
      },
      {
       "l": "RxJS 7 is still maintained",
       "v": "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."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "RxJS 9 is not installable yet",
       "v": "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."
      },
      {
       "l": "ESM-only from version 9",
       "v": "RxJS 9 ships no CommonJS build. CommonJS consumers depend on current Node bridging <code>require()</code> to the ESM files."
      },
      {
       "l": "Node 22.13+ for the planned beta",
       "v": "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."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Preview of the planned RxJS 9 API (not yet on npm)"
    },
    {
     "t": "tabs",
     "label": "Example",
     "items": [
      {
       "tab": "Ts",
       "code": "import { ColdObservable } from 'rxjs';\nimport { map } from 'rxjs/map';\n\nconst source = new ColdObservable<number>((subscriber) => {\n  subscriber.next(1);\n  subscriber.next(2);\n  subscriber.complete();\n});\n\nsource[map]((value) => value * 2).subscribe(console.log);"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about RxJS",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Packages around it",
       "items": [
        "@angular: Angular framework",
        "prettier: Code formatter",
        "jsdom: DOM emulation for tests",
        "typescript: Typed JavaScript compiler",
        "angular-eslint: ESLint rules for Angular",
        "vitest: Test runner"
       ]
      },
      {
       "title": "More in State and data fetching",
       "path": "tools/state-data/",
       "items": [
        {
         "text": "TanStack Query",
         "path": "tools/tanstack-react-query/"
        },
        {
         "text": "Zustand",
         "path": "tools/zustand/"
        },
        {
         "text": "Pinia",
         "path": "tools/pinia/"
        },
        {
         "text": "SWR",
         "path": "tools/swr/"
        },
        {
         "text": "nuqs",
         "path": "tools/nuqs/"
        },
        {
         "text": "Immer",
         "path": "tools/immer/"
        },
        {
         "text": "React Redux",
         "path": "tools/react-redux/"
        },
        {
         "text": "Redux Toolkit",
         "path": "tools/reduxjs/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "RxJS",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 79",
        "148M/wk"
       ]
      }
     ],
     "more": "Compare RxJS with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install rxjs"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## RxJS\n- The npm `latest` line is RxJS 7. Do not apply the RxJS 9 API to a project unless it actually has RxJS 9 installed.\n- 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.\n- 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)`.\n- In RxJS 9, do not confuse `observable.map(project)` (the platform contract) with `observable[map](project)` (the RxJS contract).\n- In RxJS 9, use `ColdObservable` when each direct subscription must create its own producer.\n- RxJS 9 publishes ESM only and cancellation is built on `AbortSignal`. Do not look for a CommonJS build.\n- When moving from RxJS 7, follow the RxJS 7 migration guide and the `@rxjs/migrate` package. Do not assume behavior is identical.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm rxjs"
  ],
  [
   "Category",
   "State and data fetching"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Latest version",
   "7.8.2, February 22, 2025"
  ],
  [
   "On GitHub since",
   "March 2015"
  ],
  [
   "Gid Score",
   "79.1"
  ],
  [
   "Rank in category",
   "#3 of 53"
  ],
  [
   "GitHub",
   "reactivex/rxjs"
  ],
  [
   "Last change",
   "Nov 19, 2026"
  ]
 ],
 "good": [
  "Used by Angular, as listed by the source; we have not checked each one."
 ],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/reactivex.png"
}