Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 2.86 KB

README.md

File metadata and controls

26 lines (22 loc) · 2.86 KB

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 GitHub issues Downloads

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