sindresorhus / super-regex
Make a regular expression time out if it takes too long to execute
☆207Updated last month
Related projects ⓘ
Alternatives and complementary repositories for super-regex
- Make a synchronous function have a timeout☆124Updated last month
- Utility functions to use and combine `AbortSignal` and `AbortController` with Promises☆139Updated 3 months ago
- Serialize objects to JSON with handling for circular references☆149Updated 4 months ago
- Make a synchronous function asynchronous by running it in a worker☆248Updated last month
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated 11 months ago
- Create a transform stream using await instead of callbacks☆71Updated last year
- Remove circular references from objects☆93Updated 8 months ago
- Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc☆159Updated last month
- Check if a value is a Fetch network error☆125Updated 7 months ago
- Automatic documentation generator for ESLint plugins and rules.☆91Updated this week
- Observe changes to the DOM using an async iterable — A nicer API for MutationObserver☆205Updated 2 months ago
- Async mutex lock for managing access to a shared resource☆117Updated 2 months ago
- ☆93Updated last year
- Switch git branches by their pull request title☆66Updated 2 years ago
- Check if the process is running inside a container (Docker/Podman)☆72Updated last year
- Get a random temporary path☆31Updated last year
- A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename☆312Updated 9 months ago
- A more usable typed storage API for Web Extensions☆62Updated 9 months ago
- Use requestAnimationFrame as an async iterable, in any JavaScript environment☆173Updated 10 months ago
- Shared TypeScript config for my projects☆350Updated 2 months ago
- Tiny terminal spinner☆185Updated last month
- Lightweight tsconfig.json parser & paths resolver☆187Updated 2 months ago
- Useful utilities for working with Uint8Array (and Buffer)☆212Updated 3 months ago
- Protect untrusted requests from SSRF☆48Updated 2 weeks ago
- Dependency free RFC 3986 URI toolbox☆90Updated last week
- Find a file or directory by walking up parent directories — Zero dependencies☆71Updated 10 months ago
- Create a multicast stream that lets multiple consumers independently read the same data☆118Updated 2 months ago
- get the file directory from import.meta.url☆114Updated 9 months ago
- ECMAScript Proposal, specs, and reference implementation for Error.isError☆80Updated 3 weeks ago
- ⛳️ Typed command-line arguments parser for Node.js☆168Updated 4 months ago