sindresorhus / sleep-synchronouslyLinks
Block the main thread for a given amount of time
☆126Updated 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 last year
- Make an asynchronous function synchronous☆325Updated 5 months ago
- Inspect the state of a promise☆130Updated last month
- Create a transform stream using await instead of callbacks☆71Updated 2 years ago
- Check if stdout or stderr is interactive☆118Updated 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☆146Updated last month
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆99Updated 2 years ago
- Check if your code is running as an npm script☆55Updated 4 years ago
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 2 weeks ago
- Read and write files atomically and reliably.☆168Updated 2 weeks ago
- Like read-package-json, but faster☆50Updated last week
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Like `Promise.all()` but for `Map` and `Object`☆198Updated last month
- Display youch error message on terminal☆87Updated 2 years ago
- Get the real path of the system temp directory☆82Updated 3 years ago
- Minimalistic update notifications for command line interfaces☆167Updated last year
- Check if your package was installed globally☆69Updated 2 years ago
- Make a function mimic another one☆96Updated last year
- Import and transpile JSX on the fly☆178Updated 2 years ago
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆79Updated 2 years ago
- Check if a string is a URL☆87Updated 2 years ago
- Cryptographically Secure Random Number Generation for ECMAScript☆70Updated 2 years ago
- Create a readable Node.js stream that produces no data (or optionally blank data) or a writable stream that discards data☆52Updated 2 years ago
- Cache values in your Web Extension and clear them on expiration. Also includes a memoize-like API to cache any function results automatic…☆84Updated 9 months ago
- User-friendly pseudorandom number generator (PRNG)☆108Updated 2 months ago
- ANSI syntax highlighting for the terminal☆111Updated 2 years ago
- Move a file - Even works across devices☆203Updated 2 years ago