Package Health

gpt-tokenizer

A pure JavaScript BPE tokenizer with model metadata and pricing for GPT-5, GPT-4o, o-series, and other OpenAI models

Latest 4.1.2NPMNPMMIT
Declared in package metadata.

86%

Total Score

healthy

Regular releases and active repository work support this release, with concentrated contribution and workflow gaps as the main concerns.

Health Score Breakdown

Lifecycle scriptscaution

The package has a prepare script that runs during installation or package preparation.

Repo bus factorcaution

niieani made 24 of 27 commits, while OsamaAnsar made 2 and peter-dudbridge made 1, so most repository work depends on one person.

Security policycaution

The repository has no security policy file for reporting vulnerabilities.

Workflow auditcaution

All 13 referenced GitHub Actions are unpinned, and .github/workflows/deploy-demo.yml grants top-level write access.

Vulnerabilities

We didn't find any vulnerabilities for this package.

Package versions

VersionPublishedVulnerabilities
4.1.210 Nov 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
4.1.19 Nov 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
4.1.018 Oct 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
4.0.418 Oct 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
4.0.315 Oct 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
4.0.215 Oct 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
4.0.115 Oct 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
4.0.016 Aug 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
3.4.07 Nov 2025
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
3.3.07 Nov 2025
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total

Maintainers

Direct Dependencies

No direct dependencies.

Weekly Downloads

Info

Last Published
18 hours ago
Created
3 years ago
Unpacked Size
26.8 MB

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea