Skip to content
JS
Package

token-types

Common token types for decoding and encoding numeric and string values

v6.1.2, 1 Jan 2026MITESM onlyTypes: Bundled
$ npm install token-types

Key numbers

As of 25 Sept 2026
Weekly downloads
23.2m
+145% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
8 months ago
v6.1.2
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 32.2m (25 Aug 2026)Low 6.5m (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.

23,224,764 downloads last week, 110,406,402 in the last month. The 12-month change of +145% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
142 in total
Latest version
6.1.2, 1 Jan 20268 months ago
First published
18 Jun 2017
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
65

Major versions

  1. v6 first release 6.0.0, 4 Jul 2024
  2. v5 first release 5.0.0, 2 Aug 2022
  3. v4 first release 4.0.0, 16 Jul 2021
  4. v3 first release 3.0.0, 10 Jul 2021
  5. v2 first release 2.0.0, 25 Dec 2019
  6. v1 first release 1.0.0, 12 Sept 2018
  7. v0 first release 0.0.1, 18 Jun 2017

Recent releases

VersionPublished
6.1.21 Jan 2026
6.1.113 Aug 2025
6.1.012 Aug 2025
6.0.425 Jul 2025
6.0.329 Jun 2025
6.0.229 Jun 2025
6.0.128 Jun 2025
6.0.04 Jul 2024
5.0.12 Aug 2022
4.2.12 Aug 2022
5.0.02 Aug 2022
4.2.023 Feb 2022
4.1.131 Jul 2021
4.1.017 Jul 2021
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=14.16
Runtimes
-
Unpacked size (npm)
22 kB
Dependencies (3)
ieee754@tokenizer/token@borewit/text-codec
npm install token-types

CDN

jsDelivr: 64k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/token-types@6.1.2/
  • unpkghttps://unpkg.com/token-types@6.1.2/
  • esm.shhttps://esm.sh/token-types@6.1.2
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

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