sindresorhus / sleep-synchronouslyLinks
Block the main thread for a given amount of time
☆128Updated last week
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☆126Updated last year
- Make an asynchronous function synchronous☆327Updated 7 months ago
- Create a transform stream using await instead of callbacks☆71Updated 2 years ago
- Split an iterable into evenly sized chunks☆157Updated 2 years ago
- Check if stdout or stderr is interactive☆119Updated 2 years ago
- Check if your code is running as an npm script☆56Updated 4 years ago
- Get the ID of the process that uses a certain port☆149Updated 2 weeks ago
- Inspect the state of a promise☆133Updated 4 months ago
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆101Updated 2 years ago
- Detect whether the terminal supports Unicode☆87Updated last year
- A tiny (183B to 210B) and fast utility to ascend parent directories☆155Updated last year
- Like read-package-json, but faster☆51Updated 2 weeks ago
- An implementation of window.fetch in Node.js using Minipass streams☆57Updated 3 months ago
- Like `Promise.all()` but for `Map` and `Object`☆200Updated 4 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated 2 years ago
- Minimalistic update notifications for command line interfaces☆169Updated last year
- Switch git branches by their pull request title☆67Updated 3 years ago
- Check if a string is a URL☆87Updated 2 years ago
- 🎀 Just the cutest and tiniest queue/deque implementation!☆115Updated 4 months ago
- Filter object keys and values into a new object☆105Updated last year
- Display youch error message on terminal☆88Updated 2 years ago
- Get the real path of the system temp directory☆85Updated 3 years ago
- Read and write files atomically and reliably.☆171Updated 3 months ago
- Debounce a function☆130Updated last year
- Check if your package was installed globally☆71Updated 2 years ago
- Generate a URL for opening a new GitHub release with prefilled tag, body, and other fields☆122Updated 2 years ago
- ANSI syntax highlighting for the terminal☆111Updated 2 years ago
- A tiny (330B to 357B) and fast utility to find a package's hidden supply / cache directory.☆34Updated 5 years ago
- Cross-platform `/dev/null`☆94Updated 4 years ago
- GIF decoding for Node.js, using Libnsgif compiled to WebAssembly☆40Updated 5 years ago