sindresorhus / sleep-synchronouslyLinks
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
Sorting:
- Make a synchronous function have a timeout☆125Updated last year
- Make an asynchronous function synchronous☆323Updated 3 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- Inspect the state of a promise☆129Updated last week
- Split an iterable into evenly sized chunks☆153Updated last year
- Check if stdout or stderr is interactive☆116Updated last year
- Detect whether the terminal supports Unicode☆84Updated last year
- Get the ID of the process that uses a certain port☆143Updated last week
- A tiny (183B to 210B) and fast utility to ascend parent directories☆154Updated last year
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆98Updated 2 years ago
- Check if your code is running as an npm script☆55Updated 4 years ago
- Like read-package-json, but faster☆50Updated last week
- Like `Promise.all()` but for `Map` and `Object`☆196Updated last week
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated 5 months ago
- Read and write files atomically and reliably.☆168Updated last year
- __dirname and __filename for ES Modules environment☆68Updated last year
- Check if your package was installed globally☆70Updated last year
- Wait for a condition to be true☆161Updated last week
- Check if a string is a URL☆86Updated 2 years ago
- 🎀 Just the cutest and tiniest queue/deque implementation!☆116Updated last month
- Filter object keys and values into a new object☆104Updated last year
- Display youch error message on terminal☆87Updated 2 years ago
- Move a file on the command-line☆74Updated 2 years ago
- A tool to create an ora compatible spinner object that behaves like a scrolling marquee☆79Updated 2 years ago
- Make a function mimic another one☆95Updated 11 months ago
- Detect whether a terminal emulator supports hyperlinks☆55Updated 7 months ago
- Wait for localhost to be ready from the command-line☆121Updated 2 weeks ago
- Switch git branches by their pull request title☆67Updated 3 years ago
- Import and transpile JSX on the fly☆178Updated last year