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☆98Updated last year
- Create a transform stream using await instead of callbacks☆71Updated 2 years ago
- Block the main thread for a given amount of time☆126Updated 2 years ago
- Serialize objects to JSON with handling for circular references☆160Updated 5 months ago
- Make a regular expression time out if it takes too long to execute☆218Updated last week
- Make a synchronous function asynchronous by running it in a worker☆252Updated last year
- Switch git branches by their pull request title☆67Updated 3 years ago
- Detect whether the terminal supports Unicode☆85Updated last year
- ☆97Updated 2 months ago
- Make an asynchronous function synchronous☆325Updated 5 months ago
- Inspect the state of a promise☆130Updated last month
- Check if the process is running inside a container (Docker/Podman)☆76Updated 2 years ago
- Simple yet flexible CLI parser for Node.js and Deno☆77Updated 3 years ago
- Check whether a file can be executed☆45Updated 2 years ago
- Like read-package-json, but faster☆50Updated last week
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated last year
- Split an iterable into evenly sized chunks☆155Updated last year
- Read and write files atomically and reliably.☆168Updated 2 weeks ago
- Convert object keys from camel case☆56Updated last year
- Script to remove unnecessary properties from package.json on prepublish hook☆60Updated last month
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆164Updated last year
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆156Updated 3 weeks ago
- Load tsconfig.json, light-weight and dependency-free.☆44Updated last year
- Remove circular references from objects☆98Updated last year
- A simple tool for running npm scripts, with monorepo support.☆23Updated 3 years ago
- ☆108Updated 4 years ago
- Trace the original position through a source map☆109Updated 4 months ago
- Automatic documentation generator for ESLint plugins and rules.☆106Updated 2 weeks ago
- Zoltan Kochan's npm packages☆102Updated 2 months ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆333Updated 8 months ago