sindresorhus / sleep-synchronouslyLinks
Block the main thread for a given amount of time
☆126Updated 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☆125Updated last year
- Split an iterable into evenly sized chunks☆154Updated last year
- Inspect the state of a promise☆130Updated 3 weeks ago
- Make an asynchronous function synchronous☆325Updated 4 months ago
- Create a transform stream using await instead of callbacks☆71Updated last year
- Check if stdout or stderr is interactive☆118Updated last year
- Get the ID of the process that uses a certain port☆145Updated last month
- Detect whether the terminal supports Unicode☆85Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated last year
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆98Updated 2 years ago
- Like read-package-json, but faster☆50Updated this week
- Minimalistic update notifications for command line interfaces☆167Updated last year
- Check if your code is running as an npm script☆55Updated 4 years ago
- Display youch error message on terminal☆87Updated 2 years ago
- Cryptographically Secure Random Number Generation for ECMAScript☆70Updated 2 years ago
- Switch git branches by their pull request title☆67Updated 3 years ago
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 5 months ago
- __dirname and __filename for ES Modules environment☆68Updated last year
- Like `Promise.all()` but for `Map` and `Object`☆198Updated last month
- 🎀 Just the cutest and tiniest queue/deque implementation!☆115Updated last month
- Cache values in your Web Extension and clear them on expiration. Also includes a memoize-like API to cache any function results automatic…☆84Updated 8 months ago
- Full-fledged state management☆44Updated 2 years ago
- Read and write files atomically and reliably.☆168Updated last year
- Extremely minimal stylesheet/setup for Web Extensions’ options pages (also dark mode)☆88Updated 10 months ago
- ANSI syntax highlighting for the terminal☆111Updated last year
- Check if a string is a URL☆87Updated 2 years ago
- GIF decoding for Node.js, using Libnsgif compiled to WebAssembly☆40Updated 5 years ago
- A Map implementation with expirable items☆94Updated 3 years ago
- Get the real path of the system temp directory☆82Updated 3 years ago