Closest Packages

closest-property

When given an object and a string, will return the value corresponding to the key that is the closest (according to the levenshtein distance, where case is ignored) to the given string.

1.0.1 • Published 4 years ago