Search results
63 packages found
find the closest package.json
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 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
A kdtree data structure
Return the closest element matching a selector up the DOM tree
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
Iterative Closest Point Implementation
Computes the closest point to a polytope in arbitrary dimensions
> Note: This tools is inspired (or rather, translated) from the `DomainFuzz` class of the [dnstwist](https://github.com/elceef/dnstwist) project.
MDN polyfills
A function that, when given a target number and an array of numbers, will return the array value closest to the target.
Get nearest roads to a given location, or all roads within a bounding box.
1D segment operations
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
🚅 Find the closest or exact value using binary search
A small pure-JavaScript CSS selector engine
Returns the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. Replacement for jQuery's .closest()
Given a bezier curve and a point, finds which point in the curve is closest to the given point