EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface.
Run a function exactly one time
Ensure a function is only called once
mixin to add one-time ready event callback handler
create a function that can only be invoked once
Guarantee a node-style async function is only executed once.
Stashes callbacks for later execution
Do something every n times.
load a script, but only once
Make multiple replacements in a string without replacing ones that have already been replaced.
Wrap a generator that can be called only once
Execute only first call of the async function.
Strictly checks that given value is nodejs EventEmitter. It's easy, because his API is in frozen state.
Listen on a DOM event once
An extended version of the async library.
serve express middleware once
Returns a function that will only be executed before being called N times.
powered by npms.io 🚀