@jollie/binary-search
Binary search: Equal & closest search in sorted array.
Binary search: Equal & closest search in sorted array.
Binary search: Equal & closest search in sorted array.
Get index of closest value in sorted array (using comparator).
Iterative Closest Point Implementation
> Note: This tools is inspired (or rather, translated) from the `DomainFuzz` class of the [dnstwist](https://github.com/elceef/dnstwist) project.
Compares a string against an array of strings and picks the most similar
Pulls data from one time series into another based on the nearest timestamp.
nearestPrime() takes a number and returns the closest prime number
The closestAll(htmlElement, selectors) function traverses the element and its parents (heading toward the document root), finding all nodes that matches the specified CSS selector.
Given a bezier curve and a point, finds which point in the curve is closest to the given point
Utility functions around AWS Regions, like getting the closest region.
Element returns the nearest parent element