gpt-tokenizer

npmv3.4.0

A pure JavaScript implementation of a BPE tokenizer (Encoder/Decoder) for GPT-2 / GPT-3 / GPT-4 and other OpenAI models

License MITpermissive34 versions1 maintainers0 deps
niieani/gpt-tokenizer
56
/ 100
Health
safe to use

[email protected] is safe to use (health: 56/100)

Health breakdown0 – 100
15/25
maintenance
0/20
popularity
25/25
security
12/15
maturity
4/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/gpt-tokenizer

First published · 2023-04-16T06:35:22.295Z

Last updated · 2025-11-07T20:15:06.227Z