dfa

JSON →
library 1.2.0 ·javascript maintenance
verified May 1, 2026

A JavaScript library that compiles a regular-expression-like syntax into fast deterministic finite automata (DFA). Version 1.2.0 is the latest as of 2025, with no active development in recent years. It is designed for pattern matching against non-string sequences (e.g., arrays of symbols) and provides a portable state machine representation. Supports common regex operators like alternation, concatenation, repetition, and tagging. Files are written in a custom CoffeeScript-like DSL and compiled to efficient match tables.

total hits 18
actors 5 distinct systems
last hit 4d ago AhrefsBot
ByteDance
7
MetaBot
3
GPTBot
2
Humans
2

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇮 Finland · 🇫🇷 France