gpt3-tokenizer 1.1.3
This is a isomorphic TypeScript tokenizer for OpenAI's GPT-3 model. Including support for `gpt3` and `codex` tokenization. It should work in both NodeJS and Browser environments. ## Usage
gpt3-tokenizer@1.1.3 was published on 2022-08-27. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=12.
All gpt3-tokenizer versions · Permanent reference to 1.1.3 · Latest release
Package specifications
| Version | 1.1.3 |
|---|---|
| License declaration | MIT |
| Published | 2022-08-27T14:12:19.954Z |
| Node.js requirement | >=12 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 11523.39 KiB |
| Published file count | 39 |
| Package type | Not declared |
| ES module entry | dist/gpt3-tokenizer.cjs.production.min.js |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 171 |
| Repository forks | 16 |
Install gpt3-tokenizer 1.1.3
npm install gpt3-tokenizer@1.1.3 pnpm add gpt3-tokenizer@1.1.3 yarn add gpt3-tokenizer@1.1.3
Runtime dependencies
- array-keyed-map ^2.1.2
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- array-keyed-map@2.1.3 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/gpt3-tokenizer/1.1.3 — retrieved 2026-10-30T04:58:36.849Z
- https://api.deps.dev/v3/projects/github.com%2Fxanthous-tech%2Fgpt3-tokenizer — retrieved 2026-10-30T02:01:50.336Z
- https://api.deps.dev/v3/systems/npm/packages/gpt3-tokenizer/versions/1.1.3 — retrieved 2026-10-30T04:58:37.345Z
- https://api.deps.dev/v3/systems/npm/packages/gpt3-tokenizer/versions/1.1.3:dependencies — retrieved 2026-10-30T04:58:37.387Z