npm.io
1.0.3 • Published 9 years agoCLI

js-longest-repeated-substring

Licence
MIT
Version
1.0.3
Deps
0
Vulns
0
Weekly
0
Stars
1

js-longest-repeated-substring

Package provides javascript implementation in finding the longest repeated sub-sequence/substring within a text body

Build Status Coverage Status

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

Keywords