Skip to content
JS
Package

binary-search

tiny binary search function with comparators

v1.3.6, 6 Aug 2019CC0-1.0-Types: Bundled
$ npm install binary-search

Key numbers

As of 25 Sept 2026
Weekly downloads
1m
+37% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v1.3.6
GitHub stars
88
18 forks
Open issues / PRs
1 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.5m (25 Aug 2026)Low 438.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,006,640 downloads last week. The 12-month change of +37% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
014 in total
Latest version
1.3.6, 6 Aug 20197 years ago
First published
21 May 2013
Last push to GitHub
13 Mar 20202,386 days before the snapshot
Repository archived
Yes
Open issues
1
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v1 first release 1.0.0, 21 May 2013

Recent releases

VersionPublished
1.3.66 Aug 2019
1.3.58 Feb 2019
1.3.425 Jun 2018
1.3.329 Jan 2018
1.3.24 Aug 2016
1.3.13 Aug 2016
1.3.026 Apr 2016
1.2.014 Apr 2014
1.1.29 Apr 2014
1.1.116 Oct 2013
1.1.010 Oct 2013
1.0.229 Aug 2013
1.0.121 May 2013
1.0.021 May 2013
Module format
-Not determined from package.json
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
5.6 kB
Dependencies (0)
None
npm install binary-search
  • jsDelivrhttps://cdn.jsdelivr.net/npm/binary-search@1.3.6/
  • unpkghttps://unpkg.com/binary-search@1.3.6/
  • esm.shhttps://esm.sh/binary-search@1.3.6
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.