sindresorhus / sleep-synchronously
Block the main thread for a given amount of time
☆125Updated 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 8 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- Check if your code is running as an npm script☆55Updated 3 years ago
- Make an asynchronous function synchronous☆319Updated 3 weeks ago
- Check if stdout or stderr is interactive☆116Updated last year
- Detect whether the terminal supports Unicode☆85Updated 8 months ago
- Get the ID of the process that uses a certain port☆142Updated 4 months ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 8 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Like read-package-json, but faster☆49Updated last month
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Check if your package was installed globally☆70Updated last year
- Split an iterable into evenly sized chunks☆154Updated last year
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated last year
- ☆16Updated 2 years ago
- A Map implementation with expirable items☆94Updated 3 years ago
- Inspect the state of a promise☆130Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated last month
- Like `Promise.all()` but for `Map` and `Object`☆196Updated last year
- ☆48Updated 7 years ago
- Display youch error message on terminal☆88Updated last year
- Cryptographically Secure Random Number Generation for ECMAScript☆71Updated 2 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- 🎀 Just the cutest and tiniest queue/deque implementation!☆112Updated 7 months ago
- Check if a project is using Yarn☆66Updated 3 years ago
- 🍣 Track compressed Rollup asset sizes over time.☆66Updated 10 months ago
- Debounce a function☆127Updated 8 months 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
- Read and write files atomically and reliably.☆165Updated 9 months ago
- Check if a string is a URL☆85Updated last year