sindresorhus / sleep-synchronouslyLinks
Block the main thread for a given amount of time
☆124Updated 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 10 months ago
- Make an asynchronous function synchronous☆321Updated last month
- Inspect the state of a promise☆130Updated last year
- Get the ID of the process that uses a certain port☆143Updated 6 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- Like read-package-json, but faster☆49Updated 3 weeks ago
- Detect whether the terminal supports Unicode☆85Updated 10 months ago
- Split an iterable into evenly sized chunks☆154Updated last year
- Check if stdout or stderr is interactive☆117Updated last year
- A tiny (183B to 210B) and fast utility to ascend parent directories☆154Updated 11 months ago
- Display youch error message on terminal☆87Updated last year
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated 2 years ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆96Updated last year
- Minimalistic update notifications for command line interfaces☆166Updated last year
- Read and write files atomically and reliably.☆168Updated 11 months ago
- Check if your code is running as an npm script☆55Updated 3 years ago
- Like `Promise.all()` but for `Map` and `Object`☆197Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 3 months ago
- 🎀 Just the cutest and tiniest queue/deque implementation!☆113Updated 9 months ago
- __dirname and __filename for ES Modules environment☆69Updated last year
- Switch git branches by their pull request title☆67Updated 3 years ago
- User-friendly pseudorandom number generator (PRNG)☆107Updated 3 years ago
- fast, tiny `queueMicrotask` shim for modern engines☆190Updated last year
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆81Updated 2 years ago
- Wait for a condition to be true☆157Updated 2 years ago
- Extremely minimal stylesheet/setup for Web Extensions’ options pages (also dark mode)☆87Updated 7 months ago
- Get the real path of the system temp directory☆82Updated 2 years ago
- Import and transpile JSX on the fly☆178Updated last year
- Add editor-like tab-to-indent functionality to <textarea>, in a few bytes☆161Updated last year
- Cryptographically Secure Random Number Generation for ECMAScript☆71Updated 2 years ago