A compiled-away, type-safe, readable RegExp alternative
- Types
- ESM
- CJS
- License
- MIT
- Install Size
- 95.2 kB(1.6 MB)
- Vulns
- 0
- Published
$
npm install magic-regexp$
pnpm add magic-regexp$
yarn add magic-regexp$
bun add magic-regexp$
deno add npm:magic-regexp$
vlt install magic-regexp🦄 magic-regexp
A compiled-away, type-safe, readable RegExp alternative
Features
- Runtime is zero-dependency and ultra-minimal
- Ships with transform to compile to pure RegExp
- Automatically typed capture groups
- Natural language syntax
- Generated RegExp displays on hover
💻 Development
- Clone this repository
- Enable Corepack using
corepack enable(usenpm i -g corepackfor Node.js < 16.10) - Install dependencies using
pnpm install - Run interactive tests using
pnpm dev
Similar packages
License
Made with ❤️
Published under MIT License.