Skip to content
JS
Package

magic-bytes.js

Detect Filetype by bytes

v1.13.1, 24 Jul 2026MIT-Types: -
$ npm install magic-bytes.js

Key numbers

As of 25 Sept 2026
Weekly downloads
1.4m
+314% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 months ago
v1.13.1
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.7m (18 Aug 2026)Low 279.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,429,149 downloads last week, 6,375,734 in the last month. The 12-month change of +314% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
245 in total
Latest version
1.13.1, 24 Jul 20262 months ago
First published
29 Mar 2018
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
95

Major versions

  1. v1 first release 1.0.0, 6 Jun 2020
  2. v0 first release 0.1.0, 29 Mar 2018

Recent releases

VersionPublished
1.13.124 Jul 2026
1.13.020 Jan 2026
1.12.126 Apr 2025
1.12.025 Apr 2025
1.11.017 Apr 2025
1.10.029 Feb 2024
1.9.029 Feb 2024
1.8.011 Jan 2024
1.7.011 Dec 2023
1.6.03 Dec 2023
1.5.02 Oct 2023
1.4.02 Oct 2023
1.3.029 Sept 2023
1.2.026 Sept 2023
Module format
-Not determined from package.json
TypeScript types
-
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install magic-bytes.js
  • jsDelivrhttps://cdn.jsdelivr.net/npm/magic-bytes.js@1.13.1/
  • unpkghttps://unpkg.com/magic-bytes.js@1.13.1/
  • esm.shhttps://esm.sh/magic-bytes.js@1.13.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

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