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☆322Updated 3 months ago
- Inspect the state of a promise☆129Updated last year
- Create a transform stream using await instead of callbacks☆70Updated last year
- Make a synchronous function have a timeout☆125Updated 11 months ago
- Split an iterable into evenly sized chunks☆153Updated last year
- Check if stdout or stderr is interactive☆116Updated last year
- Check if your code is running as an npm script☆55Updated 3 years ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆154Updated last year
- Get the ID of the process that uses a certain port☆143Updated 7 months ago
- Display youch error message on terminal☆87Updated last year
- Detect whether the terminal supports Unicode☆85Updated last year
- Like `Promise.all()` but for `Map` and `Object`☆196Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆96Updated last year
- Read and write files atomically and reliably.☆168Updated last year
- Minimalistic update notifications for command line interfaces☆167Updated last year
- Like read-package-json, but faster☆49Updated 2 months ago
- Cryptographically Secure Random Number Generation for ECMAScript☆70Updated 2 years ago
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated 2 years ago
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 4 months ago
- Switch git branches by their pull request title☆67Updated 3 years ago
- 🎀 Just the cutest and tiniest queue/deque implementation!☆114Updated last week
- __dirname and __filename for ES Modules environment☆68Updated last year
- Add editor-like tab-to-indent functionality to <textarea>, in a few bytes☆161Updated 2 years ago
- A tiny (~90B) isomorphic wrapper for `crypto.randomBytes` in Node.js and browsers.☆68Updated 2 years ago
- Check if a string is a URL☆85Updated 2 years ago
- A Map implementation with expirable items☆94Updated 3 years ago
- Extremely minimal stylesheet/setup for Web Extensions’ options pages (also dark mode)☆87Updated 8 months ago
- User-friendly pseudorandom number generator (PRNG)☆107Updated 3 years ago
- Generate a URL for opening a new GitHub release with prefilled tag, body, and other fields☆121Updated 2 years ago
- Wait for a condition to be true☆160Updated 2 years ago