Search results
357 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Optimised window resize function using requestAnimationFrame
- window
- document
- resize
- requestAnimationFrame
- setTimeout
- callback
- callbacks
- addEventListener
- removeEventListener
Set of universal utility functions around timing and scheduling in JavaScript
- timing
- setTimeout
- setImmediate
- requestAnimationFrame
- requestIdleCallback
- rAF
- rIC
- JavaScript
- node
- browser
- worker
- JS
- utility
- function
- View more
A small dependency free setTimeout utilitnpmy that allows pausing, resuming, stopping and starting a timeout or interval.
A better solution for timeout- and interval-based timers.
Set a single idempotent timeout
Assorted waiters
A lightweight abstraction for the JavaScript Timer API.
Increases the readability of millisecond (and second) values in JavaScript.
Calls a callback once after platform-independent next tick
Unthrottleable timers that work across tabs.
setTimeout and Date.now() mock for fast testing
🏃♂️ Declaratively control how and when your code is executed. Hooks for setTimeout, setInterval, rAF and more!
Timer API that works stable in background tabs
Converts common units of time to milliseconds
Debounce a function with requestAnimationFrame or a custom interval
Timeouts, but a little more relaxing
Performance Timing Functions for UI Development
- requestAnimationFrame
- webkitRequestAnimationFrame
- mozRequestAnimationFrame
- cancelAnimationFrame
- mozCancelAnimationFrame
- webkitCancelAnimationFrame
- webkitCancelRequestAnimationFrame
- setTimeout
- setInterval
- cancelTimeout
- timing functions
- requestAnimationFrame polyfill
- polyfill
- animation timing
A lightweight Interval runner as an alternative of setInterval()
The Smallest & Fastest TS Promise lib.
- lie
- promise
- async
- aplus
- typescript
- performance
- promises-a
- promises-aplus
- deferred
- deferreds
- future
- flow control
- dsl
- fluent interface
- View more
Annotate setTimeout and setInterval calls with human-readable delay comments.