get-closest
Compare your item to items in an array and get the closest one.
color-diff
Implemets the CIEDE2000 color difference algorithm, conversion between RGB and LAB color and mapping all colors in palette X to the closest or most different color in palette Y based on the CIEDE2000 difference.
element-closest
Return the closest element matching a selector up the DOM tree
didyoumean2
a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm