Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

regexp-ast-analysis

RunDevelopment6mMIT0.7.1TypeScript support: included

A library for analysing JS RegExp

regex, regexp, ast

readme

RegExp AST analysis

Actions Status npm

This is a library providing functionalities to analyse JavaScript RegExp.

All functions operate on AST nodes produced by regexpp. Characters are parsed by refa.

Usage

Install the library using npm:

npm i regexp-ast-analysis

Import the library:

import * as RAA from "regexp-ast-analysis";

Documentation

Links to the full API documentation: