Search results

35 packages found

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

published version 1.1.7, 2 months ago10 dependents licensed under $MIT
49,224

Rust-like Box and similar objects for TypeScript

published version 2.0.1, 6 months ago16 dependents licensed under $MIT
4,385

Polyfill for Symbol.dispose and Symbol.asyncDispose

published version 1.0.2, a year ago1 dependents licensed under $MIT
1,324

Dispose objects using the decorator pattern

published version 5.0.1, 9 months ago2 dependents licensed under $MIT
819

Generic interface for representing disposable resources or other cleanup.

published version 3.4.1, 5 years ago17 dependents licensed under $Parity-6.0.0
708

Polyfill for Symbol.dispose and Symbol.asyncDispose

published version 1.0.1, a year ago2 dependents licensed under $ISC
634

Run a function with an injected go-like defer helper

published version 1.0.0, 4 years ago1 dependents licensed under $MIT
242

A disposable base class and minimal set of interfaces to properly implement an object disposal pattern.

published version 1.1.24, 2 years ago9 dependents licensed under $MIT
363

Disposiq is a utility collection of Dispose pattern

published version 1.2.3, 4 days ago2 dependents licensed under $MIT
265

A library for caching and memoization. This library provides advanced memoization utils, cache-creating and the ability to freely composing a custom cache.

published version 1.2.2, a month ago0 dependents licensed under $ISC
108

Bracket monad for fp-ts

published version 0.2.0, a month ago1 dependents licensed under $MIT
112

React hook for automatic disposal on cancelled components

published version 0.5.0, 4 years ago0 dependents licensed under $MIT
66

The collection of helpers written with mobx and typescript.

published version 0.8.3, 5 years ago1 dependents licensed under $MIT
101

A tiny Angular lifecycle helper library

published version 0.1.11, 9 months ago0 dependents licensed under $MIT
54

This tool simplifies the process of creating and rendering 3D scenes. You have the flexibility to customize parameters for your specific requirements, create scenes, and incorporate lighting. It also provides a convenient interface to gracefully destroy s

published version 1.0.33, 2 years ago0 dependents licensed under $ISC
75

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

published version 1.0.9, 2 years ago4 dependents licensed under $MIT
46

Dispose bag for RxJS subscriptions. Inspired by RxSwift.

published version 1.1.6, 6 years ago0 dependents licensed under $ISC
48

Using implementation for disposable resources.

published version 1.0.2, 3 years ago0 dependents licensed under $MIT
30

Clear all event listeners at once.

published version 1.1.1, 5 years ago0 dependents licensed under $MIT
38

TypeScript RAII proof of concept

published version 0.1.3, 6 years ago0 dependents licensed under $MIT
31