0.7.0 • Published 2 years ago

explain-regexp v0.7.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago