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
- 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
- Make a synchronous function asynchronous by running it in a worker☆249Updated 5 months ago
- Serialize objects to JSON with handling for circular references☆154Updated 8 months ago
- ☆94Updated last year
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆209Updated 6 months ago
- Remove circular references from objects☆94Updated last year
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆146Updated 3 months ago
- Check if a value is a Fetch network error☆135Updated 11 months ago
- Polyfill of `util.parseArgs()`☆124Updated 2 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆161Updated 6 months ago
- Check if the process is running inside a container (Docker/Podman)☆73Updated last year
- Async mutex lock for managing access to a shared resource☆124Updated 6 months ago
- Automatic documentation generator for ESLint plugins and rules.☆96Updated this week
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 6 months ago
- Get a random temporary path☆32Updated last year
- Switch git branches by their pull request title☆66Updated 2 years ago
- 🌌 Tiniest body parser in the universe. Built for modern Node.js☆195Updated 2 weeks ago
- Detect whether the terminal supports Unicode☆84Updated 6 months ago
- Find a file or directory by walking up parent directories — Zero dependencies☆78Updated last week
- Change the file extension of a path☆38Updated 6 months ago
- Tiny terminal spinner☆219Updated 2 weeks ago
- Check if the system is in low power mode☆63Updated 7 months ago
- A more usable typed storage API for Web Extensions☆69Updated last month
- Run some code when the process exits☆282Updated last year
- Get the operating system CPU architecture☆37Updated 6 months ago
- Lightweight tsconfig.json parser & paths resolver☆200Updated last month
- Split an iterable into evenly sized chunks☆154Updated last year
- get the file directory from import.meta.url☆116Updated last year