sindresorhus / function-timeout
Make a synchronous function have a timeout
☆125Updated 7 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☆97Updated last year
- Create a transform stream using await instead of callbacks☆70Updated last year
- Block the main thread for a given amount of time☆124Updated 2 years ago
- Switch git branches by their pull request title☆67Updated 2 years ago
- Detect whether the terminal supports Unicode☆85Updated 7 months ago
- Make a regular expression time out if it takes too long to execute☆211Updated 7 months ago
- ☆95Updated last year
- Make a synchronous function asynchronous by running it in a worker☆249Updated 7 months ago
- Simple yet flexible CLI parser for Node.js and Deno☆77Updated 2 years ago
- ⚡️ esbuild based dev server and production bundler, it's really fast☆233Updated 2 years ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 8 months ago
- Script to remove unnecessary properties from package.json on prepublish hook☆59Updated 2 weeks ago
- Serialize objects to JSON with handling for circular references☆156Updated 10 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆321Updated 2 months ago
- Inspect the state of a promise☆129Updated last year
- ☆108Updated 3 years ago
- Make an asynchronous function synchronous☆318Updated last week
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆154Updated last week
- Deduplication tool for pnpm-lock.yaml files☆68Updated 2 years ago
- unopinionated esbuild cli.☆75Updated 3 years ago
- A TC39 proposal for function memoization in the JavaScript language.☆79Updated 2 years ago
- Find and load config files with joy.☆148Updated 2 years ago
- Automatic documentation generator for ESLint plugins and rules.☆97Updated last week
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Like read-package-json, but faster☆49Updated last week
- Display youch error message on terminal☆89Updated last year
- Protect untrusted requests from SSRF☆49Updated this week
- A simple tool for running npm scripts, with monorepo support.☆23Updated 3 years ago
- ECMAScript proposal for Deduplicating method of Array☆140Updated 3 years ago
- Check whether a file can be executed☆44Updated 2 years ago