Lightweight utility for managing multiple RxJS subscriptions with indexed/named keys and simple cleanup methods.
SubSiphon is a lightweight utility designed to manage multiple RxJS subscriptions in a clean and organized way. It provides a simple container for subscriptions that can be referenced by numeric indexes or named keys, along with easy methods to unsubscribe and clean up all subscriptions at once.
add setter to automatically assign subscriptions to the next available numeric index.unsubscribe() stops all active subscriptions, and destroy() clears and resets the container.@Siphon() decorator automatically unsubscribes properties on ngOnDestroy.siphon() pipe operator simplifies auto-unsubscription within Angular components.SubSiphon aims to simplify subscription management in RxJS-based applications by providing a minimal, intuitive API that reduces boilerplate and prevents memory leaks.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.