Search results
227 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Schedule work to be completed when the browser is idle.
A simple key-value store that is truly a singleton. Use this to as an alternative to sticking values into global.
Pool of objects for primitives. (Make WeakMap accept primitive keys)
A lightweight utility to create global singletons (on browser and node)
- global
- singleton
- global-state
- state
- instance
- global function
- global object
- singleton function
- singleton object
- reference
`asyncforge` allows you to remove singletons from your codebase with the use of [`AsyncLocalStorage`](https://nodejs.org/api/async_context.html#class-asynclocalstorage).
Check if an instance of the current application is running or not.
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.
Create the powerful singleton easily
A compile-time powered Dependency-Injection container for Typescript that holds services and can produce instances of them as required.
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
- dependency injection
- di
- di-container
- container
- di-modules
- modules
- asynchronous
- async
- lazy initialization
- lazy loading
- circular dependency detection
- singleton
- scoped
- transient
- View more
An automaticaly generating singleton class that uses generics and inheritnace to automate its creation.
Ensure only one version of the same promise is running
A Custom Transformer for Typescript that enables compile-time Dependency Injection
Powerful JavaScript singleton design pattern implementation
Class to handler singleton
Singleton decorator. No constructor monkeypatching. Zero dependencies. Built with TypeScript.
Automatically memorize your function call
Guarantee there is only 1 copy of a module or object in current VM
Rending a singleton react component in DOM
Global event bus using a singleton event emitter