# CJex/regulex

:construction: Regular Expression Excited!

Repository: https://github.com/CJex/regulex
Canonical: https://ross.abutalabs.com/products/regulex
Homepage: https://jex.im/regulex/
Language: TypeScript
License: MIT
License Family: permissive
Topics: javascript, regulex, regexp, regex, regular-expression, diagram, typescript
Last push: 2022-07-12T09:37:03+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4503, "days_push": 1513, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5828, forks 753 (observed 2026-08-28T04:09:30.143880+00:00)

## What it is
Regulex is a JavaScript regular expression parser and visualizer that converts regex into ASTs and renders railroad-style diagrams. It runs purely client-side, offers precise syntax error reporting, and is available as an npm package or hosted web tool.

## Use cases
- visualize a regular expression as a diagram
- parse regex into an AST in JavaScript
- debug why my regex has a syntax error
- embed a regex diagram on my website
- explain a complicated regular expression visually
- npm library for regex parsing

## When to choose
- You need to understand or document a complex JavaScript regex visually
- You want a client-side regex parser with detailed syntax error positions
- You want to embed regex diagrams via iframe

## When to avoid
- You need regex flavors beyond ECMAScript (e.g. PCRE, Python)
- You need regex testing/matching rather than visualization
- You need actively developed features - the project is under reconstruction with sparse releases

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, data-visualization, developer-tools
- domain: developer-tools, parsers, web-development
- platform: browser
- tags: regex, regular-expression, ast, diagram, visualization, typescript, javascript, nodejs, web

## Member repositories
- CJex/regulex (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:30.143880+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:52:05.435312+00:00, confidence not recorded.
  - readme: https://github.com/CJex/regulex (fetched 2026-08-28T04:09:30.143880+00:00, sha 23d06353b46c)
  - homepage: https://jex.im/regulex/ (fetched 2026-08-29T08:47:48.445990+00:00, sha ff1cdc0ab7b0)
  - registry_npm: https://registry.npmjs.org/regulex (fetched 2026-08-29T08:47:48.454837+00:00, sha ccc3db584e60)
- Data as of 2026-08-30T08:39:29.467469+00:00.
