Search results
63 packages found
a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm
- closest
- compare
- comparison
- didyoumean
- diff
- difference
- distance
- edit
- find
- fuzzy
- leven
- levenshtein
- match
- matching
- View more
find the closest package.json
🚅 Find the closest or exact value using binary search
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.
A minimal polyfill for Element.closest
Given a bezier curve and a point, finds which point in the curve is closest to the given point
Return the closest element matching a selector up the DOM tree
MDN polyfills
Given an array of dates, this module will find the date nearest to a given target date. Can be used to find the nearest number as well
reads the closest package.json file
A kdtree data structure
Find the closest package.json file meeting specific criteria
Measure how similar two strings are using the Sørensen–Dice Coefficient
- closest
- coefficient
- compare
- comparison
- Dice
- difference
- index
- Levenshtein
- match
- matching
- measure
- nearest
- similar
- similarity
- View more
Find the closest parent that matches a selector.
Find the closest number out of an array to a specific value
For a given DOM element, find the first ancestor that matches a given CSS selector.
Converts numbers into a more human-friendly format, similar to `ls`'s `--human-readable` flag (`ls -lh`) or Stack Overflow's reputation numbers. For example, 123456 becomes '123k'.
- approximate-number
- abbreviate
- abbreviated
- human
- friendly
- readable
- large
- big
- number
- numbers
- stack overflow
- stack exchange
- -h
- format
- View more
Efficient tree search in k-dimensions
Find the closest CSS color keyword for a given HEX color value.