Skip to content
JS
Package

chardet

Character encoding detector

v2.2.0, 20 Jun 2026MITCommonJSTypes: Bundled
$ npm install chardet

Key numbers

As of 25 Sept 2026
Weekly downloads
44.8m
+67% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 months ago
v2.2.0
GitHub stars
311
30 forks
Open issues / PRs
2 / 1
Contributors
17
Commits, last 52 weeks
20

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60m80mSept 2025Mar 2026Sept 2026High 61.5m (25 Aug 2026)Low 18.3m (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.

44,828,034 downloads last week, 220,025,470 in the last month. The 12-month change of +67% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
230 in total
Latest version
2.2.0, 20 Jun 20263 months ago
First published
30 Apr 2013
Last push to GitHub
1 Aug 202655 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
1
Commits, last 52 weeks
20
Dependents on npm
1,505

Major versions

  1. v2 first release 2.0.0, 28 Sept 2023
  2. v1 first release 1.0.0, 31 Mar 2020
  3. v0 first release 0.0.3, 30 Apr 2013

Recent releases

VersionPublished
2.2.020 Jun 2026
2.1.129 Oct 2025
2.1.024 Feb 2025
2.0.028 Sept 2023
1.6.128 Sept 2023
1.6.016 Jun 2023
1.5.15 Jan 2023
1.5.09 Oct 2022
1.4.019 Oct 2021
1.3.025 Sept 2020
1.2.223 Sept 2020
1.2.16 Jul 2020
1.2.02 Jul 2020
1.1.07 May 2020
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
175 kB
Dependencies (0)
None
npm install chardet
  • jsDelivrhttps://cdn.jsdelivr.net/npm/chardet@2.2.0/
  • unpkghttps://unpkg.com/chardet@2.2.0/
  • esm.shhttps://esm.sh/chardet@2.2.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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