# js-longest-repeated-substring

> Package implements longest repeated substring for finding the longest repeated string within a text body

Latest version **1.0.3** (published 2017-05-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install js-longest-repeated-substring
pnpm add js-longest-repeated-substring
yarn add js-longest-repeated-substring
bun add js-longest-repeated-substring
```

Provides the command `js-lrs`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2017-05-31 |
| First published | 2017-05-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Caishun Chen |
| Maintainers | cschen1205 |
| Keywords | string manipulation, string matching, longest repeated substring |

## Links

- npm: https://www.npmjs.com/package/js-longest-repeated-substring
- Repository: https://github.com/cschen1205/js-longest-repeated-substring
- Homepage: https://github.com/cschen1205/js-longest-repeated-substring#readme
- Issues: https://github.com/cschen1205/js-longest-repeated-substring/issues
- npm.io page: https://npm.io/package/js-longest-repeated-substring

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2017-05-31
- 1.0.2 — 2017-05-27
- 1.0.1 — 2017-05-27

## README

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



[![Build Status](https://travis-ci.org/cschen1205/js-longest-repeated-substring.svg?branch=master)](https://travis-ci.org/cschen1205/js-longest-repeated-substring) [![Coverage Status](https://coveralls.io/repos/github/cschen1205/js-longest-repeated-substring/badge.svg?branch=master)](https://coveralls.io/github/cschen1205/js-longest-repeated-substring?branch=master) 

# Install

Run the following npm command to install

```bash
npm install js-longest-repeated-substring
```

# Usage

To sort an array "a" using any of the sorting algorithms:

```javascript
var jslrs = require("js-longest-repeated-substring");

var text = "ATCGATCGA$";
console.log(jslrs.lrs(text)); // display ATCGA

```

---
_Source: https://npm.io/package/js-longest-repeated-substring · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
