magic-regexp

A compiled-away, type-safe, readable RegExp alternative

MIT 23 个版本
安装
npm install magic-regexp
yarn add magic-regexp
pnpm add magic-regexp
bun add magic-regexp
README

🦄 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.

版本列表
0.11.0 2026-03-05
0.10.0 2025-04-21
0.9.0 2025-04-09
0.8.0 2024-03-07
0.7.0 2023-05-05
0.6.3 2023-02-28
0.6.2 2023-01-29
0.6.1 2022-11-16
0.6.0 2022-10-28
0.5.0 2022-09-16
0.4.1 2022-08-05
0.4.0 2022-07-25
0.3.0 2022-07-20
0.2.3 2022-07-18
0.2.2 2022-07-18
0.2.1 2022-07-17
0.2.0 2022-07-17
0.1.0 2022-07-17
0.0.4 2022-07-17
0.0.3 2022-07-16
0.0.2 2022-07-16
0.0.1 2022-07-16
0.0.0 2022-07-16