nano-binary-search
Tiny, zero-dependency binary search and sorted-array operations (indexOf, includes, insert, remove) 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
- binary search
- bisect
- bisect-left
- bisect-right
- lower bound
- upper bound
- sorted array
- insertion point
- equal range
- insort
- splice
- comparator
- Weekly downloads
- 44 -84%
- vs previous week
- Last 30 days
- 454
- Stars
- —
Downloads
2.8K total · Sep 1, 2025 – Sep 1, 2026
Downloads by version
Last 7 days
Versions
17 releases published since Aug 15, 2024
Commit activity
Last 12 months
Contributors
Top 10