Search results
714 packages found
Looks up the first non-whitespace character to the left/right of a given index
Delay a promise a specified amount of time
No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.
React hooks for setTimeout, setInterval, requestAnimationFrame, requestIdleCallback
- react
- interval
- timeout
- effect
- loop
- throttle
- animation
- frame
- requestAnimationFrame
- idle
- callback
- hook
- rendering
- rate-limiting
- View more
Chained and parallel async iterator in one elegant function.
Because everyone loves a tryer! Conditional and repeated task invocation for node and browser.
0 dependencies event-loop blocking synchronus sleep modelled after atomic-sleep.
Tools for debugging your node.js modules and event loop
Get usage and health data about your Node.js process
C function to get the current libuv event loop for N-API
A simple TypeScript class that runs requestAnimationFrame at fixed frameRate, adapting to screen refresh rate by calling the loop more or less multiple times per frame.
Execute chunked blocking operations in a way that won't cause event loop starvation
RAF loop with an adaptive fps and performance ratio calculated from either a sample count or a sample duration. Typically used when doing intensive graphics computation in canvas.
Progress bar in console for Node.js in the style of TQDM Python library
- tqdm
- nodejs
- cli
- nodejs-cli
- cli-app
- terminal
- console
- progress bar
- progress
- indicator
- iterate
- iterator
- for
- for await
- View more
React hook to measure elapsed time using XRSession requestAnimationFrame
Iterate a string and any changes within given string index ranges
Smart sequence loop starting from a random number
Calls a function repeatedly while a condition returns true and then resolves the promise