Search results

1000+ packages found

Ensure a function is only called once

published version 7.0.0, 2 years ago2149 dependents licensed under $MIT
361,708,363

Run a function exactly one time

published version 1.4.0, 9 years ago3757 dependents licensed under $ISC
277,568,735

EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface.

published version 5.0.1, 2 years ago6877 dependents licensed under $MIT
212,991,787

Simple and modern async event emitter

published version 1.1.0, 4 months ago1284 dependents licensed under $MIT
135,973,117

The lodash method `_.once` exported as a module.

published version 4.1.1, 9 years ago237 dependents licensed under $MIT
84,304,363

Run the supplied function exactly one time (once)

published version 1.0.0, 6 years ago91 dependents licensed under $MIT
46,777,531

A feature-rich Node.js event emitter implementation with namespaces, wildcards, TTL, async listeners and browser/worker support.

published version 6.4.9, 3 years ago2034 dependents licensed under $MIT
53,344,885

A small utility for creating warnings and emitting them.

published version 5.0.0, 3 months ago213 dependents licensed under $MIT
51,720,194

Split a string on the first occurance of a given separator

published version 3.0.0, 4 years ago144 dependents licensed under $MIT
31,151,928

mixin to add one-time ready event callback handler

published version 3.4.0, 6 months ago52 dependents licensed under $MIT
987,531

async oncehelper method as module.

published version 0.5.2, 9 years ago6 dependents licensed under $MIT
1,047,746

A lean Promises and Async lib for ES6/ES7

published version 0.9.3, 22 days ago38 dependents licensed under $MIT
429,407

Simple API for managing options in JavaScript applications.

published version 4.0.0, 8 years ago5 dependents licensed under $MIT
130,742

Stashes callbacks for later execution

published version 2.0.1, 3 years ago1 dependents licensed under $ISC
113,983

Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.

published version 6.0.1-cjs.0, 3 years ago1 dependents licensed under $MIT
62,390

create a function that can only be invoked once

published version 2.2.0, 2 years ago9 dependents licensed under $MIT
76,063

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

published version 10.13.142, 8 months ago0 dependents licensed under $MIT
41,147

Wraps a function so that it's only ever executed once.

published version 3.0.1, 5 months ago7 dependents licensed under $MIT
36,058

[![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

published version 3.5.94, 10 months ago0 dependents licensed under $MIT
25,349

Subscribe to one or more events and accept the first emitted

published version 0.1.7, 8 days ago8 dependents licensed under $MIT
20,507