sindresorhus / sleep-synchronouslyLinks
Block the main thread for a given amount of time
☆128Updated 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:
- Create a transform stream using await instead of callbacks☆71Updated 2 years ago
- Make a synchronous function have a timeout☆125Updated last year
- Make an asynchronous function synchronous☆326Updated 5 months ago
- Check if stdout or stderr is interactive☆118Updated 2 years ago
- Inspect the state of a promise☆131Updated 2 months ago
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆99Updated 2 years ago
- Detect whether the terminal supports Unicode☆85Updated last year
- Split an iterable into evenly sized chunks☆155Updated last year
- Get the ID of the process that uses a certain port☆147Updated 2 months ago
- Check if your code is running as an npm script☆55Updated 4 years ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated last year
- Like `Promise.all()` but for `Map` and `Object`☆198Updated 2 months ago
- Like read-package-json, but faster☆50Updated last week
- Get the real path of the system temp directory☆83Updated 3 years ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated last year
- Read and write files atomically and reliably.☆168Updated last month
- Minimalistic update notifications for command line interfaces☆168Updated last year
- __dirname and __filename for ES Modules environment☆68Updated last year
- Display youch error message on terminal☆88Updated 2 years ago
- Make a function mimic another one☆96Updated 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
- Cryptographically Secure Random Number Generation for ECMAScript☆70Updated 2 years ago
- Debounce a function☆128Updated last year
- Wait for a condition to be true☆164Updated 2 months ago
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated last month
- Render a gif and provide frames to draw.☆39Updated 4 years ago
- Filter object keys and values into a new object☆105Updated last year
- Switch git branches by their pull request title☆67Updated 3 years ago
- Move a file on the command-line☆74Updated 2 years ago