sindresorhus / sleep-synchronouslyLinks
Block the main thread for a given amount of time
☆128Updated 2 years ago
Alternatives and similar repositories for sleep-synchronously
Users that are interested in sleep-synchronously are comparing it to the libraries listed below
Sorting:
- Make a synchronous function have a timeout☆126Updated last year
- Create a transform stream using await instead of callbacks☆71Updated 2 years ago
- Inspect the state of a promise☆133Updated 3 months ago
- Make an asynchronous function synchronous☆327Updated 7 months ago
- Get the ID of the process that uses a certain port☆148Updated 3 months ago
- Split an iterable into evenly sized chunks☆157Updated 2 years ago
- Detect whether the terminal supports Unicode☆87Updated last year
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆100Updated 2 years ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆154Updated last year
- Check if stdout or stderr is interactive☆119Updated 2 years ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated 2 years ago
- Like read-package-json, but faster☆50Updated last month
- Display youch error message on terminal☆88Updated 2 years ago
- Switch git branches by their pull request title☆67Updated 3 years ago
- Check if your code is running as an npm script☆56Updated 4 years ago
- 🎀 Just the cutest and tiniest queue/deque implementation!☆115Updated 4 months ago
- Like `Promise.all()` but for `Map` and `Object`☆199Updated 3 months ago
- __dirname and __filename for ES Modules environment☆68Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 2 months ago
- Check if a string is a URL☆87Updated 2 years ago
- Read and write files atomically and reliably.☆171Updated 2 months ago
- Cryptographically Secure Random Number Generation for ECMAScript☆70Updated 3 years ago
- Add editor-like tab-to-indent functionality to <textarea>, in a few bytes☆161Updated 2 years ago
- GIF decoding for Node.js, using Libnsgif compiled to WebAssembly☆40Updated 5 years ago
- User-friendly pseudorandom number generator (PRNG)☆108Updated 4 months ago
- Cache values in your Web Extension and clear them on expiration. Also includes a memoize-like API to cache any function results automatic…☆84Updated 11 months ago
- Move a file on the command-line☆74Updated 2 years ago
- Debounce a function☆130Updated last year
- Wait for a condition to be true☆166Updated 3 months ago
- A tiny (330B to 357B) and fast utility to find a package's hidden supply / cache directory.☆34Updated 5 years ago