# chardet (JavaScript) — card for AI agents

Detect character encoding of text files automatically.

Category: Utilities · npm package `chardet` · latest version 2.2.0 (checked 2026-11-01)
Install: `npm install chardet`
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: 49.2 (#2071 of all tools, 230 of 408 in its category)
- Used in 3 public projects set up for AI coding agents (0.0%)
- Downloads last week: 91,689,392 (as of 2026-11-24), +42.0% over 4 weeks
- GitHub stars: 311 (as of 2026-11-24)
- Last push: 2026-11-01

## Often used with
Vite 87.5%, chalk 75.0%, concurrently 75.0%, iconv-lite 75.0%, tsx 75.0%, Vitest 75.0%

## Links
- AgentGid page: https://agentgid.com/tools/chardet-npm/
- Homepage: https://github.com/runk/node-chardet
- Repository: https://github.com/runk/node-chardet

---
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.
