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 an asynchronous function synchronous☆321Updated last month
- Make a synchronous function have a timeout☆125Updated 9 months ago
- Inspect the state of a promise☆130Updated last year
- Create a transform stream using await instead of callbacks☆70Updated last year
- Like read-package-json, but faster☆49Updated last week
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 10 months ago
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 2 months ago
- Get the ID of the process that uses a certain port☆143Updated 5 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆96Updated last year
- Split an iterable into evenly sized chunks☆154Updated last year
- Detect whether the terminal supports Unicode☆85Updated 10 months ago
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated 2 years ago
- Check if stdout or stderr is interactive☆117Updated 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
- Cryptographically Secure Random Number Generation for ECMAScript☆71Updated 2 years ago
- Minimalistic update notifications for command line interfaces☆166Updated last year
- 🎀 Just the cutest and tiniest queue/deque implementation!☆113Updated 8 months ago
- Collecting feedback with ease.☆92Updated 3 years ago
- User-friendly pseudorandom number generator (PRNG)☆107Updated 3 years ago
- Debounce a function☆127Updated 9 months ago
- __dirname and __filename for ES Modules environment☆69Updated 11 months ago
- Stickers for TypeScript☆40Updated 5 years ago
- A Map implementation with expirable items☆94Updated 3 years ago
- Display youch error message on terminal☆88Updated last year
- Extremely minimal stylesheet/setup for Web Extensions’ options pages (also dark mode)☆87Updated 6 months ago
- A simple bundler for your delicious modules☆169Updated 2 years ago
- DOM event delegation, in <1KB☆194Updated 8 months ago
- Check if your package was installed globally☆70Updated last year