Search results

227 packages found

Schedule work to be completed when the browser is idle.

published version 1.0.3, 7 years ago4 dependents licensed under $Apache-2.0
275,354

A simple key-value store that is truly a singleton. Use this to as an alternative to sticking values into global.

published version 2.0.2, a year ago8 dependents licensed under $Apache-2.0
74,832

Pool of objects for primitives. (Make WeakMap accept primitive keys)

published version 2.0.0, 3 years ago1 dependents licensed under $MIT
15,966

A lightweight utility to create global singletons (on browser and node)

published version 0.1.2, a year ago1 dependents licensed under $MIT
11,076

`asyncforge` allows you to remove singletons from your codebase with the use of [`AsyncLocalStorage`](https://nodejs.org/api/async_context.html#class-asynclocalstorage).

published version 0.5.0, a year ago1 dependents licensed under $MIT
8,446

Check if an instance of the current application is running or not.

published version 0.0.1, 10 years ago5 dependents licensed under $ISC
1,560

When you want to have an audioContext singleton but don't want to rewrite [this code](index.js), use this. Deals with browser differences in AudioContext and maintains the singleton.

published version 2.0.0, 2 years ago5 dependents licensed under $MIT
1,311

Create the powerful singleton easily

published version 1.0.0, 2 years ago0 dependents licensed under $MIT
1,282

A compile-time powered Dependency-Injection container for Typescript that holds services and can produce instances of them as required.

published version 3.0.2, 7 months ago107 dependents licensed under $MIT
997

A lightweight dependency injection container for JavaScript and TypeScript with powerful features: modular organization with DiModule.create, lazy initialization, automatic circular dependency detection, and multiple service lifecycles (singleton with bot

published version 1.4.1, 22 days ago0 dependents licensed under $MIT
666

An automaticaly generating singleton class that uses generics and inheritnace to automate its creation.

published version 1.0.0, 6 years ago4 dependents licensed under $MIT
729

Ensure only one version of the same promise is running

published version 1.0.4, 4 years ago0 dependents licensed under $MIT
892

A Custom Transformer for Typescript that enables compile-time Dependency Injection

published version 4.0.2, 7 months ago3 dependents licensed under $MIT
850

Powerful JavaScript singleton design pattern implementation

published version 1.2.1, 9 years ago0 dependents licensed under $MIT
861

Class to handler singleton

published version 0.1.3, 2 years ago2 dependents licensed under $Apache-2.0
530

Singleton decorator. No constructor monkeypatching. Zero dependencies. Built with TypeScript.

published version 1.1.2, 4 years ago1 dependents licensed under $MIT
594

Automatically memorize your function call

published version 0.1.6, a year ago3 dependents licensed under $MIT
652

Guarantee there is only 1 copy of a module or object in current VM

published version 0.1.2, 10 years ago2 dependents licensed under $MIT
521

Rending a singleton react component in DOM

published version 1.3.3, 8 years ago14 dependents licensed under $ISC
566

Global event bus using a singleton event emitter

published version 1.0.1, 10 years ago0 dependents licensed under $ISC
548