# @tsdotnet/object-pool

> A flexible Object Pool that trims the pool down to the specified max size after a specified delay.

Latest version **2.0.5** (published 2026-03-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tsdotnet/object-pool
pnpm add @tsdotnet/object-pool
yarn add @tsdotnet/object-pool
bun add @tsdotnet/object-pool
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.5 |
| Published | 2026-03-16 |
| First published | 2020-05-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 3 |
| Unpacked size | 24.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | electricessence |
| Maintainers | electricessence |
| Keywords | objectpool, object pool, object-pool, dispose, disposable, recycle, recyclable |

## Links

- npm: https://www.npmjs.com/package/@tsdotnet/object-pool
- Repository: https://github.com/tsdotnet/object-pool
- Homepage: https://github.com/tsdotnet/object-pool#readme
- Issues: https://github.com/tsdotnet/object-pool/issues
- npm.io page: https://npm.io/package/@tsdotnet/object-pool

## Dependencies (3)

- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [@tsdotnet/disposable](https://npm.io/package/@tsdotnet/disposable.md) ^2.0.3
- [@tsdotnet/exceptions](https://npm.io/package/@tsdotnet/exceptions.md) ^1.2.9

## Recent versions

- 2.0.5 (latest) — 2026-03-16
- 2.0.4 — 2026-03-16
- 2.0.3 — 2026-03-16
- 2.0.2 — 2025-08-25
- 2.0.1 — 2025-08-25
- 2.0.0 — 2025-08-23
- 1.1.1 — 2025-08-18
- 1.1.0 — 2025-08-16
- 1.0.9 — 2022-12-18
- 1.0.8 — 2022-02-12
- 1.0.7 — 2021-04-21
- 1.0.6 — 2020-05-29
- 1.0.5 — 2020-05-24
- 1.0.4 — 2020-05-23
- 1.0.3 — 2020-05-19
- … 2 more at https://npm.io/package/@tsdotnet/object-pool/versions

## README

# ![alt text](https://avatars1.githubusercontent.com/u/64487547?s=30 "tsdotnet") tsdotnet / object-pool

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/tsdotnet/object-pool/blob/master/LICENSE)
[![npm version](https://img.shields.io/npm/v/@tsdotnet/object-pool.svg?style=flat-square)](https://www.npmjs.com/package/@tsdotnet/object-pool)

A flexible Object Pool that trims the pool down to the specified max size after a specified delay.

## Docs

[tsdotnet.github.io/object-pool](https://tsdotnet.github.io/object-pool/)

---
_Source: https://npm.io/package/@tsdotnet/object-pool · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
