@string-data-structure/longest-prefix-suffix-array

1.0.0 • Public • Published

🌖 @string-data-structure/longest-prefix-suffix-array

Longest prefix/suffix array for JavaScript. See docs.

import {build} from '@string-data-structure/longest-prefix-suffix-array';
const s = 'abracadabra';
const t = new Int32Array(s.length + 1);
build(s, 0, s.length, t, 0);

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size

Package Sidebar

Install

npm i @string-data-structure/longest-prefix-suffix-array

Weekly Downloads

10

Version

1.0.0

License

AGPL-3.0

Unpacked Size

448 kB

Total Files

14

Last publish

Collaborators

  • raskat
  • aureooms