magic-regexp
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

🦄 magic-regexp

npm version npm downloads Github Actions Codecov Bundlephobia LGTM

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.

Readme

Keywords

none

Package Sidebar

Install

npm i magic-regexp

Weekly Downloads

17,360

Version

0.8.0

License

MIT

Unpacked Size

109 kB

Total Files

31

Last publish

Collaborators

  • danielroe