Skip to content
JS
Package

disposablestack

An ESnext spec-compliant `DisposableStack`, `AsyncDisposableStack`, `Symbol.dispose`, and `Symbol.asyncDispose` shim/polyfill/replacement that works as far down as ES3.

v1.1.8, 25 Apr 2026MITCommonJSTypes: NonePolyfills and shims
$ npm install disposablestack

Key numbers

As of 25 Sept 2026
Weekly downloads
34.6k
+125% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
12
Direct, from package.json
Last release
4 months ago
v1.1.8
GitHub stars
38
4 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
20

Downloads

Last week 2026-09-15 to 2026-09-21
025k50k75k100kSept 2025Mar 2026Sept 2026High 88.5k (9 Jun 2026)Low 9.7k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

34,580 downloads last week, 200,676 in the last month. The 12-month change of +125% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.8, 25 Apr 20264 months ago
First published
-
Last push to GitHub
30 Jul 202657 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
20
Dependents on npm
18

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
74 kB
Dependencies (12)
hasowncall-bindes-errorscall-boundglobalthises-abstracthas-symbolsget-intrinsicinternal-slotsuppressed-errordefine-propertieses-set-tostringtag
npm install disposablestack
  • jsDelivrhttps://cdn.jsdelivr.net/npm/disposablestack@1.1.8/
  • unpkghttps://unpkg.com/disposablestack@1.1.8/
  • esm.shhttps://esm.sh/disposablestack@1.1.8
PackageWeekly downloadsGzipLast releaseModuleComparison
weakmap-polyfill1m-5 years agoCommonJS-
@thednp/dommatrix182k-22 days agoESM + CommonJS-
map-like23.5k-9 years agoCommonJS-
object_values18k-9 years agoCommonJS-
object-keys79.8m-7 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.