sindresorhus / super-regex
Make a regular expression time out if it takes too long to execute
☆210Updated 6 months ago
Alternatives and similar repositories for super-regex:
Users that are interested in super-regex are comparing it to the libraries listed below
- Make a synchronous function have a timeout☆125Updated 6 months ago
- Serialize objects to JSON with handling for circular references☆154Updated 9 months ago
- Make a synchronous function asynchronous by running it in a worker☆249Updated 6 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Create a transform stream using await instead of callbacks☆70Updated last year
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆146Updated 4 months ago
- ☆94Updated last year
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆162Updated 6 months ago
- Check if a value is a Fetch network error☆136Updated 11 months ago
- Remove circular references from objects☆94Updated last year
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 6 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆209Updated 7 months ago
- Switch git branches by their pull request title☆67Updated 2 years ago
- Get the ID of the process that uses a certain port☆143Updated 2 months ago
- Check if the process is running inside a container (Docker/Podman)☆73Updated last year
- Polyfill of `util.parseArgs()`☆124Updated 3 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆251Updated last month
- Sort an array on an object property☆200Updated 7 months ago
- Run some code when the process exits☆283Updated last year
- Async mutex lock for managing access to a shared resource☆124Updated 7 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Block the main thread for a given amount of time☆124Updated last year
- Read and write files atomically and reliably.☆164Updated 7 months ago
- A more usable typed storage API for Web Extensions☆69Updated this week
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- Inspect the state of a promise☆128Updated last year
- Shared TypeScript config for my projects☆361Updated 3 months ago
- Tiny terminal spinner☆220Updated 3 weeks ago
- Automatic documentation generator for ESLint plugins and rules.☆96Updated this week
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 6 months ago