This repo is the monorepo for rxjs-leak-finder, a dev-mode tool that finds leaked RxJS subscriptions in Angular apps. One line in main.ts, a floating widget, a local dashboard. No Chrome extension.
👉 Read the package README for install + usage. 👉 How it works for the architecture. 👉 Roadmap for what's next — heap-snapshot integration to measure how much memory each leak actually holds.
| Package | Published? | What it does |
|---|---|---|
packages/rxjs-leak-detector |
yes — rxjs-leak-finder on npm |
Runtime (the Observable patch + widget), CLI (rxjs-leak-finder dashboard), and the bundled dashboard SPA. |
packages/analyzer-core |
no (devDep) | Stack-trace classification, source-map resolution, leak-kind heuristics. Bundled into the dashboard. |
packages/panel-ui |
no (devDep) | Lit components for the dashboard UI. Bundled into the dashboard. |
packages/runtime |
no | Experiments around runtime tagging strategies. |
packages/tagger |
no | Reference build of the in-page widget. |
packages/extension |
no | Earlier Chrome-extension prototype (superseded by the floating widget). |
pnpm install
pnpm build # builds all packages
pnpm test # runs all unit testsInstall from the npm registry — this is what most users want:
npm install --save-dev rxjs-leak-finder
# or pnpm add -D rxjs-leak-finder
# or yarn add -D rxjs-leak-finderThen follow the package README to wire it into your main.ts.
MIT © Florin Ciocirlan