PK

ADDRLIN : /home/questend/public_html/domains/flaxzy.com/node_modules/levenary/
FLL :
Current File : /home/questend/public_html/domains/flaxzy.com/node_modules/levenary/index.mjs

import leven from 'leven';

export default function levenArray(str, array) {
  let minLeven = Number.POSITIVE_INFINITY;
  let result = undefined;
  for(const item of array) {
    const distance = leven(str, item);
    if (distance < minLeven) {
      minLeven = distance;
      result = item;
    }
  }
  return result;
}


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home