UNPKG

closest-match

Version:

Uses Levenshtein Distance to find the closest string match or matches in an array

2 lines (1 loc) 65 B
export declare const distance: (a: string, b: string) => number;