js-longest-repeated-substring
v1.0.3
Published
Package implements longest repeated substring for finding the longest repeated string within a text body
Downloads
145
Maintainers
Readme
js-longest-repeated-substring
Package provides javascript implementation in finding the longest repeated sub-sequence/substring within a text body
Install
Run the following npm command to install
npm install js-longest-repeated-substring
Usage
To sort an array "a" using any of the sorting algorithms:
var jslrs = require("js-longest-repeated-substring");
var text = "ATCGATCGA$";
console.log(jslrs.lrs(text)); // display ATCGA