@kometbomb/binarysearch (npm): ts binary search for sorted arrays||array like objects. returns any || last || first || closest matched key for value, or slice between 2 values where values need not exist.
Keywords: typescript|javascript|search|binary search