npm.io
0.11.0 • Published 4 months ago

magic-regexp

Licence
MIT
Version
0.11.0
Deps
4
Size
93 kB
Vulns
0
Weekly
0
Stars
4.3K

magic-regexp

npm version npm downloads Github Actions Codecov Bundlephobia nuxt.care health

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

 Read more

Development

  • Clone this repository
  • Enable Corepack using corepack enable (use npm i -g corepack for Node.js < 16.10)
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

Similar packages

License

Made with

Published under MIT License.