# regexp-ast-analysis

> A library for analysing JS RegExp

Latest version **0.7.1** (published 2023-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install regexp-ast-analysis
pnpm add regexp-ast-analysis
yarn add regexp-ast-analysis
bun add regexp-ast-analysis
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.1 |
| Published | 2023-09-13 |
| First published | 2021-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | ^12.0.0 \|\| ^14.0.0 \|\| >=16.0.0 |
| Dependencies | 2 |
| Unpacked size | 264.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Michael Schmidt |
| Maintainers | rundevelopment |
| Keywords | regex, regexp, ast |

## Links

- npm: https://www.npmjs.com/package/regexp-ast-analysis
- Repository: https://github.com/RunDevelopment/regexp-ast-analysis
- Homepage: https://github.com/RunDevelopment/regexp-ast-analysis#readme
- Issues: https://github.com/RunDevelopment/regexp-ast-analysis/issues
- npm.io page: https://npm.io/package/regexp-ast-analysis

## Dependencies (2)

- [refa](https://npm.io/package/refa.md) ^0.12.1
- [@eslint-community/regexpp](https://npm.io/package/@eslint-community/regexpp.md) ^4.8.0

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 0.7.1 (latest) — 2023-09-13
- 0.7.0 — 2023-09-05
- 0.6.0 — 2023-03-30
- 0.5.1 — 2022-04-18
- 0.5.0 — 2022-04-18
- 0.4.1 — 2022-04-17
- 0.4.0 — 2022-04-16
- 0.3.0 — 2021-09-04
- 0.2.4 — 2021-08-12
- 0.2.3 — 2021-07-15
- 0.2.2 — 2021-06-03
- 0.2.1 — 2021-06-01
- 0.2.0 — 2021-04-29
- 0.1.3 — 2021-04-12
- 0.1.2 — 2021-04-12
- … 2 more at https://npm.io/package/regexp-ast-analysis/versions

## README

# RegExp AST analysis

[![Actions Status](https://github.com/RunDevelopment/regexp-ast-analysis/workflows/Node.js%20CI/badge.svg)](https://github.com/RunDevelopment/regexp-ast-analysis/actions)
[![npm](https://img.shields.io/npm/v/regexp-ast-analysis)](https://www.npmjs.com/package/regexp-ast-analysis)

This is a library providing functionalities to analyse [JavaScript RegExp](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp).

All functions operate on AST nodes produced by [regexpp](https://github.com/mysticatea/regexpp). Characters are parsed by [refa](https://github.com/RunDevelopment/refa).

## Usage

Install the library using npm:

```bash
npm i regexp-ast-analysis
```

Import the library:

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

## Documentation

Links to the full API documentation:

- [Latest release](https://rundevelopment.github.io/regexp-ast-analysis/docs/latest/)
- [Development](https://rundevelopment.github.io/regexp-ast-analysis/docs/dev/)

---
_Source: https://npm.io/package/regexp-ast-analysis · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
