Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function normalizedLevenshtein(a, b) { return 1 - (levenshtein(a, b) / Math.max(a.length, b.length, 1)); }
Straightforward fuzzy matching, information retrieval and NLP building blocks for JavaScript.