sindresorhus / function-timeout
Make a synchronous function have a timeout
☆125Updated 5 months ago
Alternatives and similar repositories for function-timeout:
Users that are interested in function-timeout are comparing it to the libraries listed below
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Create a transform stream using await instead of callbacks☆70Updated last year
- Serialize objects to JSON with handling for circular references☆154Updated 8 months ago
- Block the main thread for a given amount of time☆124Updated last year
- Make a synchronous function asynchronous by running it in a worker☆249Updated 5 months ago
- Make a regular expression time out if it takes too long to execute☆210Updated 5 months ago
- Switch git branches by their pull request title☆66Updated 2 years ago
- Detect whether the terminal supports Unicode☆84Updated 6 months ago
- Inspect the state of a promise☆128Updated 11 months ago
- Like read-package-json, but faster☆48Updated 5 months ago
- Make an asynchronous function synchronous☆313Updated 2 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- ☆94Updated last year
- unopinionated esbuild cli.☆75Updated 3 years ago
- Automatic documentation generator for ESLint plugins and rules.☆96Updated this week
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 6 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆161Updated 5 months ago
- Script to remove unnecessary properties from package.json on prepublish hook☆54Updated this week
- Node CLI or module to calculate folder size☆73Updated this week
- A TC39 proposal for function memoization in the JavaScript language.☆79Updated 2 years ago
- Simple yet flexible CLI parser for Node.js and Deno☆77Updated 2 years ago
- Find and load config files with joy.☆147Updated 2 years ago
- Protect untrusted requests from SSRF☆48Updated last week
- A better open. Reuse the same tab on Chromium-based browsers on macOS.☆42Updated 2 years ago
- Async mutex lock for managing access to a shared resource☆123Updated 6 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆316Updated 3 weeks ago
- Check if the process is running inside a container (Docker/Podman)☆73Updated last year
- 🎀 Just the cutest and tiniest queue/deque implementation!☆112Updated 4 months ago
- ⚡️ esbuild based dev server and production bundler, it's really fast☆233Updated 2 years ago
- Polyfill of `util.parseArgs()`☆124Updated 2 months ago