alle opties
forky  ] [  sid  ]
[ Bron: node-debounce  ]

Pakket: node-debounce (2.2.0-2)

Verwijzigingen voor node-debounce

Screenshot

Debian bronnen:

Het bronpakket node-debounce downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

delay function calls until a set time elapses after the last invocation

This package provides a simple and efficient debounce utility for JavaScript, which delays invoking a function until after a specified wait time has elapsed since the last time it was invoked. Debouncing is useful for limiting the rate at which a function is called, especially in performance-critical or event-heavy environments like scrolling, resizing, or keypress handling.

Features:

 - Small and dependency-free
 - Works in both browser and Node.js environments
 - Supports options for immediate execution and maximum wait times

This package is primarily intended for use with Node.js.

node-debounce downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 4,5 kB19,0 kB [overzicht]