sindresorhus / function-timeoutLinks
Make a synchronous function have a timeout
☆126Updated 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 2 years ago
- Create a transform stream using await instead of callbacks☆71Updated 2 years ago
- Make a regular expression time out if it takes too long to execute☆220Updated 2 months ago
- Block the main thread for a given amount of time☆128Updated 2 years ago
- Serialize objects to JSON with handling for circular references☆162Updated 7 months ago
- Switch git branches by their pull request title☆67Updated 3 years ago
- Make a synchronous function asynchronous by running it in a worker☆253Updated last year
- ☆97Updated 4 months ago
- Simple yet flexible CLI parser for Node.js and Deno☆77Updated 3 years ago
- Like read-package-json, but faster☆51Updated last month
- Script to remove unnecessary properties from package.json on prepublish hook☆63Updated 3 months ago
- Detect whether the terminal supports Unicode☆87Updated last year
- Check if the process is running inside a container (Docker/Podman)☆78Updated 2 years ago
- Inspect the state of a promise☆133Updated 3 months ago
- Make an asynchronous function synchronous☆327Updated 7 months ago
- Load tsconfig.json, light-weight and dependency-free.☆44Updated last year
- Check whether a file can be executed☆46Updated 2 years ago
- Deduplication tool for pnpm-lock.yaml files☆68Updated 2 years ago
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆336Updated 10 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆165Updated last year
- Split an iterable into evenly sized chunks☆157Updated 2 years ago
- Zoltan Kochan's npm packages☆102Updated last week
- A tiny (183B to 210B) and fast utility to ascend parent directories☆154Updated last year
- Remove circular references from objects☆100Updated last year
- Programmatic API to update package.json☆93Updated last month
- A simple tool for running npm scripts, with monorepo support.☆23Updated 4 years ago
- ultra simple project scaffolding☆65Updated 3 years ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆160Updated 2 months ago
- Read and write files atomically and reliably.☆171Updated 2 months ago
- Node CLI or module to calculate folder size☆82Updated last month