Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 845 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 845 Bytes

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