Skip to content

FlorinCiocirlan/rxjs-leak-finder

Repository files navigation

rxjs-leak-finder — monorepo

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.

Layout

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

Develop

pnpm install
pnpm build      # builds all packages
pnpm test       # runs all unit tests

Install in your app

Install 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-finder

Then follow the package README to wire it into your main.ts.

License

MIT © Florin Ciocirlan

About

Find leaked RxJS subscriptions in your Angular dev-mode app. One line in main.ts, no Chrome extension.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors