sindresorhus / super-regex
Make a regular expression time out if it takes too long to execute
☆211Updated 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☆156Updated 10 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Make a synchronous function asynchronous by running it in a worker☆249Updated 7 months ago
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆154Updated last week
- Create a transform stream using await instead of callbacks☆70Updated last year
- Remove circular references from objects☆94Updated last year
- Async mutex lock for managing access to a shared resource☆125Updated 8 months ago
- Check if a value is a Fetch network error☆140Updated last year
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆163Updated 7 months ago
- ☆95Updated last year
- Get the ID of the process that uses a certain port☆142Updated 3 months ago
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆212Updated 8 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆255Updated 3 months ago
- Find a file or directory by walking up parent directories — Zero dependencies☆78Updated 2 months ago
- Automatic documentation generator for ESLint plugins and rules.☆97Updated this week
- Polyfill of `util.parseArgs()`☆125Updated 4 months ago
- Lightweight tsconfig.json parser & paths resolver☆202Updated 3 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 8 months ago
- Sort an array on an object property☆200Updated 8 months ago
- Get a random temporary path☆32Updated last year
- Get the hash of an object☆135Updated last year
- Check if the process is running inside a container (Docker/Podman)☆74Updated last year
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated last year
- Shared TypeScript config for my projects☆362Updated 5 months ago
- Block the main thread for a given amount of time☆124Updated 2 years ago
- Read and write files atomically and reliably.☆165Updated 9 months ago
- Rotate an array by a given number of steps☆44Updated 11 months ago
- Protect untrusted requests from SSRF☆49Updated last week
- ANSI escape codes for some terminal swag.☆74Updated 2 years ago