sindresorhus / sleep-synchronously
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
- Make a synchronous function have a timeout☆125Updated 7 months ago
- Make an asynchronous function synchronous☆318Updated this week
- Detect whether the terminal supports Unicode☆85Updated 7 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- Inspect the state of a promise☆129Updated last year
- Like read-package-json, but faster☆49Updated last week
- 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☆153Updated 8 months ago
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated last week
- Check if stdout or stderr is interactive☆116Updated last year
- Get the ID of the process that uses a certain port☆142Updated 3 months ago
- Split an iterable into evenly sized chunks☆154Updated last year
- Read and write files atomically and reliably.☆165Updated 9 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- ☆16Updated 2 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Display youch error message on terminal☆89Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- A tiny (215B) and fast utility to expand a flattened object☆202Updated 2 years ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Minimalistic update notifications for command line interfaces☆167Updated 10 months ago
- Make a function mimic another one☆94Updated 6 months ago
- Switch git branches by their pull request title☆67Updated 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 last year
- Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`☆160Updated 4 years ago
- JSON Schema TypeScript definitions with complete inline documentation.☆108Updated 3 years ago
- A tiny (148B) weighted round robin utility☆167Updated 5 years ago