This is a library providing functionalities to analyse JavaScript RegExp.
All functions operate on AST nodes produced by regexpp. Characters are parsed by refa.
Install the library using npm:
npm i regexp-ast-analysisImport the library:
import * as RAA from "regexp-ast-analysis";Links to the full API documentation: