Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 397 Bytes

README.md

File metadata and controls

5 lines (4 loc) · 397 Bytes

Node JS bindings to Rust aho-corasick automata crate

Rust crate Aho-Corasick This project uses NAPI-RS](https://napi.rs/) and build for Terraphim AI. Currently two functions are exposed: findMatched and replaceAllStream, see index.d.ts for signatures. findMatched is using MatchKind::LeftmostLongest.