sindresorhus / super-regex
Make a regular expression time out if it takes too long to execute
☆210Updated 7 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 7 months ago
- Serialize objects to JSON with handling for circular references☆155Updated 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
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆154Updated 4 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆162Updated 7 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- ☆94Updated last year
- Remove circular references from objects☆95Updated last year
- Automatic documentation generator for ESLint plugins and rules.☆97Updated last week
- Split an iterable into evenly sized chunks☆154Updated last year
- Run some code when the process exits☆284Updated last year
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆212Updated 7 months ago
- Get the ID of the process that uses a certain port☆143Updated 2 months ago
- Block the main thread for a given amount of time☆124Updated last year
- Async mutex lock for managing access to a shared resource☆127Updated 8 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆174Updated last year
- Check if a value is a Fetch network error☆138Updated last year
- Check if the process is running inside a container (Docker/Podman)☆73Updated last year
- Get a random temporary path☆32Updated last year
- Switch git branches by their pull request title☆67Updated 2 years ago
- ANSI escape codes for some terminal swag.☆74Updated 2 years ago
- Useful utilities for working with Uint8Array (and Buffer)☆252Updated 2 months ago
- Polyfill of `util.parseArgs()`☆123Updated 3 months ago
- 🌌 Tiniest body parser in the universe. Built for modern Node.js☆197Updated last month
- Protect untrusted requests from SSRF☆48Updated 3 weeks ago
- Lightweight tsconfig.json parser & paths resolver☆201Updated 2 months ago
- Get the hash of an object☆134Updated last year
- Make an asynchronous function synchronous☆317Updated 2 years ago
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 7 months ago