Skip to content

luicfer/node-AhoCorasick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-AhoCorasick

Build Status Coverage Status Dependency Status devDependency Status

Aho–Corasick string matching algorithm

Installation

npm install node-aho-corasick

Example

var AhoCorasick = require('node-aho-corasick');

ac = new AhoCorasick();
ac.add('123');
ac.add('321');
ac.build();
var res = ac.search('12321');
// ["123","321"]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published