Browse by Keyword: "singleton"

Page 1

1t Ensures that only one instance of your module exists either serverside or in the browser.

audio-context A WebAudio Context singleton

create-singleton An abstracted-away best practice way to construct singletons

es5class Prototypal inheritance based on ES5 Object.create and Object.defineProperty for node.js and modern browsers

ifdef A simple guard against multiple requires.

mongo-single Simple way to have a single connection to mongodb in your app by using require

pragma-singleton Singleton design pattern implementation which easy to use

published-locals 'require' project specific modules/files just like 3rd party ones i.e. no relative paths. Great for project config.

rocco Rocco is a really simple(embrional) dependency injector

single-child Spawn a single child process which kills itself on restart

singleton-process Enforce a single instance of a node.js process across multiple hosts

singleton.js JavaScript Singletons made easy.

Page 1

npm loves you