alla flaggor
forky  ] [  sid  ]
[ Källkod: node-debounce  ]

Paket: node-debounce (2.2.0-2)

Länkar för node-debounce

Screenshot

Debianresurser:

Hämta källkodspaketet node-debounce:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Hämta node-debounce

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 4,5 kbyte19,0 kbyte [filförteckning]