sindresorhus / function-timeoutLinks
Make a synchronous function have a timeout
☆125Updated 11 months ago
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☆96Updated last year
- Create a transform stream using await instead of callbacks☆70Updated last year
- Switch git branches by their pull request title☆67Updated 3 years ago
- Block the main thread for a given amount of time☆124Updated 2 years ago
- Serialize objects to JSON with handling for circular references☆158Updated 3 months ago
- Make a regular expression time out if it takes too long to execute☆216Updated 11 months ago
- Make a synchronous function asynchronous by running it in a worker☆251Updated 11 months ago
- Detect whether the terminal supports Unicode☆85Updated last year
- Make an asynchronous function synchronous☆322Updated 3 months ago
- Simple yet flexible CLI parser for Node.js and Deno☆77Updated 3 years ago
- Inspect the state of a promise☆129Updated last year
- ☆95Updated 2 years ago
- Check if the process is running inside a container (Docker/Podman)☆75Updated last year
- A tiny (183B to 210B) and fast utility to ascend parent directories☆154Updated last year
- Check whether a file can be executed☆44Updated 2 years ago
- Node CLI or module to calculate folder size☆81Updated 4 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆164Updated 11 months ago
- A simple tool for running npm scripts, with monorepo support.☆23Updated 3 years ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆155Updated 2 months ago
- Split an iterable into evenly sized chunks☆153Updated last year
- Zoltan Kochan's npm packages☆101Updated 3 weeks ago
- Script to remove unnecessary properties from package.json on prepublish hook☆59Updated 4 months ago
- Load tsconfig.json, light-weight and dependency-free.☆44Updated last year
- Deduplication tool for pnpm-lock.yaml files☆68Updated 2 years ago
- Like read-package-json, but faster☆49Updated 2 months ago
- Read and write files atomically and reliably.☆168Updated last year
- Check if a value is a Fetch network error☆147Updated last year
- Get packages from a monorepo (pnpm, yarn, npm, lerna)☆46Updated 3 years ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆327Updated 6 months ago
- Trace the original position through a source map☆108Updated 2 months ago