sindresorhus / sleep-synchronously
Block the main thread for a given amount of time
☆124Updated last year
Alternatives and similar repositories for sleep-synchronously:
Users that are interested in sleep-synchronously are comparing it to the libraries listed below
- Like read-package-json, but faster☆48Updated 5 months ago
- Check if your code is running as an npm script☆55Updated 3 years ago
- Make a synchronous function have a timeout☆125Updated 6 months ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 6 months ago
- Check if stdout or stderr is interactive☆116Updated last year
- Detect whether the terminal supports Unicode☆84Updated 6 months ago
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- Inspect the state of a promise☆128Updated last year
- Make an asynchronous function synchronous☆316Updated 2 years ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Get the ID of the process that uses a certain port☆143Updated 2 months ago
- 🎀 Just the cutest and tiniest queue/deque implementation!☆112Updated 5 months ago
- A sorted queue, based on an array-backed binary heap☆107Updated 10 months ago
- Cryptographically Secure Random Number Generation for ECMAScript☆71Updated 2 years ago
- Display youch error message on terminal☆89Updated last year
- 🍣 Track compressed Rollup asset sizes over time.☆66Updated 8 months ago
- Import and transpile JSX on the fly☆179Updated last year
- Split an iterable into evenly sized chunks☆154Updated last year
- ☆16Updated 2 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- __dirname and __filename for ES Modules environment☆68Updated 8 months ago
- Make a function mimic another one☆94Updated 4 months ago
- A tiny (215B) and fast utility to expand a flattened object☆202Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Read and write files atomically and reliably.☆164Updated 7 months ago
- A tiny (148B) weighted round robin utility☆166Updated 5 years ago
- Rust Blake hash bindings for Node.js.☆45Updated 2 weeks ago
- An implementation of window.fetch in Node.js using Minipass streams☆55Updated 3 weeks ago
- Minimalistic update notifications for command line interfaces☆166Updated 9 months ago