Skip to content
JS
Package

has-binary2

A function that takes anything in javascript and returns true if its argument contains binary data.

v2.0.0, 16 Apr 2020MIT-Types: None
$ npm install has-binary2

Key numbers

As of 25 Sept 2026
Weekly downloads
1.2m
-8% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 years ago
v2.0.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.6m (3 Mar 2026)Low 569.3k (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,225,964 downloads last week, 4,468,964 in the last month. The 12-month change of -8% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
05 in total
Latest version
2.0.0, 16 Apr 20206 years ago
First published
5 Apr 2017
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 16 Apr 2020
  2. v1 first release 1.0.0, 5 Apr 2017

Recent releases

VersionPublished
2.0.016 Apr 2020
1.0.314 May 2018
1.0.227 Apr 2017
1.0.15 Apr 2017
1.0.05 Apr 2017
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
5.6 kB
Dependencies (0)
None
npm install has-binary2
  • jsDelivrhttps://cdn.jsdelivr.net/npm/has-binary2@2.0.0/
  • unpkghttps://unpkg.com/has-binary2@2.0.0/
  • esm.shhttps://esm.sh/has-binary2@2.0.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): completeness 0.5 < 0.6 (missing: stars, release_date, module_type, category); GitHub data not fetched yet; no category.