Skip to content
JS
Package

bpe-lite

Offline BPE tokenizer for OpenAI, Anthropic, and Gemini — zero dependencies

v0.5.2, 19 Mar 2026MITESM + CommonJSTypes: BundledParsers and serialisers
$ npm install bpe-lite

Key numbers

As of 25 Sept 2026
Weekly downloads
3k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 months ago
v0.5.2
GitHub stars
0
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
7

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6k8kSept 2025Mar 2026Sept 2026High 7.6k (18 Aug 2026)Low 0 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,045 downloads last week, 14,620 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.5.2, 19 Mar 20266 months ago
First published
-
Last push to GitHub
19 Mar 2026189 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
7
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
7.4 MB
Dependencies (0)
None
npm install bpe-lite
  • jsDelivrhttps://cdn.jsdelivr.net/npm/bpe-lite@0.5.2/
  • unpkghttps://unpkg.com/bpe-lite@0.5.2/
  • esm.shhttps://esm.sh/bpe-lite@0.5.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 3045 < 10000.