explain-regexp
v0.7.0
Published
CLI util for fast analyze of RegExp
Readme
Regexp explainer
CLI util for generating comprehensive report about regexp. Powered by ECMA-262 Regexp parser

Requires Node >= 16
Usage
You can install package through your package manager or use in directly with npx
Installation
$ npm i explain-regexp -g$ yarn global add explain-regexp$ pnpm install --global explain-regexpCLI
Create report about full regexp:
$ explain-regexp "/[A-z]+/gm"Create report about part of regexp:
$ explain-regexp part "(?:Hello)"options
--color--no-colorforces colors on/off, default behavior depends on env;-d, --debugshows full error stacktrace;
