0.7.0 • Published 1 year ago

explain-regexp v0.7.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Regexp explainer

CLI util for generating comprehensive report about regexp. Powered by ECMA-262 Regexp parser

npm size

Example in terminal

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-regexp

CLI

Create report about full regexp:

$ explain-regexp "/[A-z]+/gm"

Create report about part of regexp:

$ explain-regexp part "(?:Hello)"

options

  • --color --no-color forces colors on/off, default behavior depends on env;
  • -d, --debug shows full error stacktrace;
0.7.0

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago