Skip to content
JS
Package

whatwg-encoding

Decode strings according to the WHATWG Encoding Standard

v3.1.1, 12 Nov 2023MITCommonJSTypes: None
$ npm install whatwg-encoding
Deprecated on npm
Use @exodus/bytes instead for a more spec-conformant and faster implementation

Key numbers

As of 25 Sept 2026
Weekly downloads
53.3m
+56% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
2 years ago
v3.1.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60m80mSept 2025Mar 2026Sept 2026High 77.7m (16 Jun 2026)Low 20.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.

53,333,809 downloads last week, 244,711,026 in the last month. The 12-month change of +56% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
010 in total
Latest version
3.1.1, 12 Nov 20232 years ago
First published
16 Oct 2016
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 7 Nov 2023
  2. v2 first release 2.0.0, 12 Sept 2021
  3. v1 first release 1.0.0, 16 Oct 2016

Recent releases

VersionPublished
3.1.112 Nov 2023
3.1.012 Nov 2023
3.0.07 Nov 2023
2.0.012 Sept 2021
1.0.530 Sept 2018
1.0.413 Aug 2018
1.0.329 Oct 2017
1.0.223 Oct 2017
1.0.116 Oct 2016
1.0.016 Oct 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
13 kB
Dependencies (1)
iconv-lite
npm install whatwg-encoding
  • jsDelivrhttps://cdn.jsdelivr.net/npm/whatwg-encoding@3.1.1/
  • unpkghttps://unpkg.com/whatwg-encoding@3.1.1/
  • esm.shhttps://esm.sh/whatwg-encoding@3.1.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated; GitHub data not fetched yet; no category.