{"library":"regexp-tree-cli","title":"regexp-tree-cli","description":"Command-line interface for the regexp-tree library (v0.0.21). Parses, optimizes, and transpiles JavaScript/ECMAScript regular expressions, producing ASTs with loc support, NFA/DFA transition tables, and compatibility transpilation. Unlike regex libraries that only match or replace, regexp-tree-cli operates at the AST level for transformations and analysis. Primarily a CLI tool, but can be used programmatically via the regexp-tree package. Last stable release is v0.0.21; development is infrequent but the underlying regexp-tree library is more actively maintained.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install regexp-tree-cli"],"cli":{"name":"regexp-tree-cli","version":null}},"imports":["import { parse } from 'regexp-tree'","import { generate } from 'regexp-tree'","import { optimize } from 'regexp-tree'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npm install -g regexp-tree-cli\nregexp-tree-cli -e '/a|b/i' -o -l","lang":"bash","description":"Install CLI globally, parse a regex with location and optimizer output.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}