1.0.3 • Published 7 years ago
js-longest-repeated-substring v1.0.3
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