UNPKG

everyutil

Version:

A comprehensive library of lightweight, reusable utility functions for JavaScript and TypeScript, designed to streamline common programming tasks such as string manipulation, array processing, date handling, and more.

9 lines (8 loc) 231 B
/** * Computes the Levenshtein distance between two strings. * @author @dailker * @param {string} a * @param {string} b * @returns {number} */ export declare function stringEditDistance(a: string, b: string): number;