sindresorhus / super-regex
Make a regular expression time out if it takes too long to execute
☆210Updated 5 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☆124Updated 5 months ago
- Serialize objects to JSON with handling for circular references☆154Updated 7 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 3 months ago
- Remove circular references from objects☆95Updated 11 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆160Updated 5 months ago
- Make a synchronous function asynchronous by running it in a worker☆248Updated 4 months ago
- Async mutex lock for managing access to a shared resource☆123Updated 6 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 5 months ago
- Switch git branches by their pull request title☆66Updated 2 years ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆208Updated 6 months ago
- Block the main thread for a given amount of time☆124Updated last year
- ☆94Updated last year
- Check if a value is a Fetch network error☆131Updated 10 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Split an iterable into evenly sized chunks☆154Updated last year
- Check if the process is running inside a container (Docker/Podman)☆73Updated last year
- Get a random temporary path☆32Updated last year
- Useful utilities for working with Uint8Array (and Buffer)☆248Updated 3 weeks ago
- Tiny terminal spinner☆215Updated last month
- Automatic documentation generator for ESLint plugins and rules.☆96Updated this week
- Find a file or directory by walking up parent directories — Zero dependencies☆75Updated 3 weeks ago
- A more usable typed storage API for Web Extensions☆68Updated 2 weeks ago
- Rotate an array by a given number of steps☆29Updated 8 months ago
- Make an asynchronous function synchronous☆313Updated 2 years ago
- Sort an array on an object property☆200Updated 6 months ago
- Encode & decode strings, bytes, and integers to Base62☆87Updated 9 months ago
- ANSI escape codes for some terminal swag.☆72Updated 2 years ago
- Detect whether the terminal supports Unicode☆84Updated 5 months ago