Tiny, zero-dependency binary search for JavaScript and TypeScript. Every result is a valid Array.splice() index — no bounds checks, no off-by-one. Equivalent to std::lower_bound / bisect_left.
typescript splice bisect binary-search comparator sorted-array lower-bound upper-bound zero-dependencies bisect-left bisect-right insertion-point
-
Updated
Jul 9, 2026 - JavaScript