Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Ensure a function is only called once
Run a function exactly one time
EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface.
- EventEmitter
- EventEmitter2
- EventEmitter3
- Events
- addEventListener
- addListener
- emit
- emits
- emitter
- event
- once
- pub/sub
- publish
- reactor
Simple and modern async event emitter
The lodash method `_.once` exported as a module.
Run the supplied function exactly one time (once)
A small utility for creating warnings and emitting them.
A feature-rich Node.js event emitter implementation with namespaces, wildcards, TTL, async listeners and browser/worker support.
Split a string on the first occurance of a given separator
mixin to add one-time ready event callback handler
async oncehelper method as module.
A lean Promises and Async lib for ES6/ES7
Simple API for managing options in JavaScript applications.
- add
- boolean
- cache
- config
- configuration
- default
- defaults
- define
- disable
- disabled
- emit
- enable
- enabled
- event
- View more
Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.
Stashes callbacks for later execution
create a function that can only be invoked once
Listen to one event via `addEventListener`, then resolve a Promise
Observe one mutation via `MutationObserver`, then resolve a Promise.
Wraps a function so that it's only ever executed once.
Calls a callback only once