string-searching
Features:
Fast string searching algorithms, including:
Installation:
$ npm install --save string-searching
Syntax
Example:
const ss = ;const text = "HERE IS A SIMPLE EXAMPLE";const pattern = "EXAMPLE"; // search first index of pattern (like the String.prototype.indexOf() do).const index = ss; // or passing true to search all patterns.const indexes = ss;