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 11 months ago
- Make an asynchronous function synchronous☆322Updated 2 months ago
- Inspect the state of a promise☆130Updated last year
- Create a transform stream using await instead of callbacks☆70Updated 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☆155Updated 11 months ago
- Get the ID of the process that uses a certain port☆143Updated 7 months ago
- Split an iterable into evenly sized chunks☆153Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆96Updated last year
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated 2 years ago
- Detect whether the terminal supports Unicode☆85Updated 11 months ago
- Like `Promise.all()` but for `Map` and `Object`☆197Updated last year
- Display youch error message on terminal☆87Updated last year
- Read and write files atomically and reliably.☆169Updated last year
- Like read-package-json, but faster☆49Updated last month
- Cryptographically Secure Random Number Generation for ECMAScript☆71Updated 2 years ago
- Switch git branches by their pull request title☆67Updated 3 years ago
- ANSI syntax highlighting for the terminal☆113Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 3 months ago
- Cross-platform `/dev/null`☆93Updated 3 years ago
- Extremely minimal stylesheet/setup for Web Extensions’ options pages (also dark mode)☆87Updated 8 months ago
- 🎀 Just the cutest and tiniest queue/deque implementation!☆114Updated 10 months ago
- User-friendly pseudorandom number generator (PRNG)☆107Updated 3 years ago
- Wait for a condition to be true☆158Updated 2 years ago
- CLI tool for testing given ESlint rules against multiple repositories at once.☆131Updated last week
- __dirname and __filename for ES Modules environment☆69Updated last year
- Quickly attach multiple ESM Loaders and/or Require Hooks together but without the repetitive `--experimental-loader` and/or `--require` N…☆51Updated 3 years ago
- Proposal for Array.prototype.findLast and Array.prototype.findLastIndex.☆123Updated 3 years ago
- Stickers for TypeScript☆40Updated 5 years ago