# magic-bytes.js — card for AI agents

Detect file types by analyzing file byte signatures.

Category: Files, images and media · npm package `magic-bytes.js` · latest version 1.13.1 (checked 2026-11-03)
Install: `npm install magic-bytes.js`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 38.5 (#3319 of all tools, 221 of 281 in its category)
- Used in 2 public projects set up for AI coding agents (0.0%)
- Downloads last week: 2,979,560 (as of 2026-11-24), +35.5% over 4 weeks
- GitHub stars: 167 (as of 2026-11-24)
- Last push: 2026-07-24

## Often used with
Chakra UI 100.0%, Emotion 100.0%, MetaMask Providers 100.0%, @monaco-editor/react 100.0%, OpenTelemetry 100.0%, Playwright (JavaScript) 100.0%

## Links
- AgentGid page: https://agentgid.com/tools/magic-bytes-js/
- Homepage: https://github.com/LarsKoelpin/magic-bytes#readme
- Repository: https://github.com/LarsKoelpin/magic-bytes

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
