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 feature-rich Node.js event emitter implementation with namespaces, wildcards, TTL, async listeners and browser/worker support.
A small utility for creating warnings and emitting them.
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
Stashes callbacks for later execution
Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.
create a function that can only be invoked once
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
- fast
- functional
- consume
- uuid
- Array.prototype.flatten
- slice
- hasOwn
- text
- object
- compiler
- rds
- read
- guid
- WebSockets
- View more
Wraps a function so that it's only ever executed once.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
- every
- browser
- compile less
- patch
- regular expressions
- setter
- String.prototype.trim
- defineProperty
- compare
- __proto__
- typed array
- RegExp.prototype.flags
- validation
- typed
- View more
Subscribe to one or more events and accept the first emitted