debounce-queue

JSON →
library 0.4.0 ·javascript
verified Jun 7, 2026

Debounce function that returns an array of all unique events that occurred within the debounce window, rather than just the last event like lodash.debounce. Version 0.4.0 is the current stable release; the package is updated irregularly (last release 0.4.0 in 2019). Key differentiator: it batches events into an array, making it ideal for file watchers or event streams where you need to process all pending events, not just the most recent. Simple API with support for leading, trailing, and maxWait options.