sindresorhus / function-timeoutLinks
Make a synchronous function have a timeout
☆125Updated last year
Alternatives and similar repositories for function-timeout
Users that are interested in function-timeout are comparing it to the libraries listed below
Sorting:
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Updated last year
- Create a transform stream using await instead of callbacks☆71Updated 2 years ago
- Make a synchronous function asynchronous by running it in a worker☆252Updated last year
- Block the main thread for a given amount of time☆128Updated 2 years ago
- Serialize objects to JSON with handling for circular references☆161Updated 6 months ago
- Make a regular expression time out if it takes too long to execute☆218Updated 3 weeks ago
- Switch git branches by their pull request title☆67Updated 3 years ago
- ☆97Updated 2 months ago
- Check if the process is running inside a container (Docker/Podman)☆76Updated 2 years ago
- Inspect the state of a promise☆131Updated 2 months ago
- Simple yet flexible CLI parser for Node.js and Deno☆77Updated 3 years ago
- Make an asynchronous function synchronous☆326Updated 5 months ago
- Detect whether the terminal supports Unicode☆85Updated last year
- Like read-package-json, but faster☆50Updated last week
- Script to remove unnecessary properties from package.json on prepublish hook☆61Updated last month
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆164Updated last year
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆333Updated 9 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆157Updated last month
- Remove circular references from objects☆100Updated last year
- Split an iterable into evenly sized chunks☆155Updated last year
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated last year
- Check whether a file can be executed☆45Updated 2 years ago
- Node CLI or module to calculate folder size☆82Updated last week
- unopinionated esbuild cli.☆75Updated 3 years ago
- A simple tool for running npm scripts, with monorepo support.☆23Updated 3 years ago
- Trace the original position through a source map☆109Updated 5 months ago
- ☆108Updated 4 years ago
- Load tsconfig.json, light-weight and dependency-free.☆44Updated last year
- Read and write files atomically and reliably.☆168Updated last month
- Find and load config files with joy.☆150Updated 2 years ago