Home Manual Reference Source

:waning_crescent_moon: @string-data-structure/failure-function

String searching failure function for JavaScript. See docs.

import {build} from '@string-data-structure/failure-function';
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