Skip to content
JS
Package

kea-disposables

Kea plugin for automatic resource cleanup. Register timers, listeners and subscriptions with a setup function that returns a cleanup function — teardown runs on unmount, and background work auto-pauses while the tab is hidden.

v1.0.0, 28 Aug 2026MITESM + CommonJSTypes: BundledState management
$ npm install kea-disposables

Key numbers

As of 25 Sept 2026
Weekly downloads
11.9k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
27 days ago
v1.0.0
GitHub stars
0
0 forks
Open issues / PRs
0 / 1
Contributors
-
Commits, last 52 weeks
9

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15kSept 2025Mar 2026Sept 2026High 11.9k (15 Sept 2026)Low 0 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

11,854 downloads last week, 19,205 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
1.0.0, 28 Aug 202627 days ago
First published
-
Last push to GitHub
1 Sept 202623 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
9
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20
Runtimes
-
Unpacked size (npm)
92 kB
Dependencies (0)
None
Peer dependencies (1)
kea
npm install kea-disposables
  • jsDelivrhttps://cdn.jsdelivr.net/npm/kea-disposables@1.0.0/
  • unpkghttps://unpkg.com/kea-disposables@1.0.0/
  • esm.shhttps://esm.sh/kea-disposables@1.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.