The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
A simple CLI to count OpenAI tokens for a set of files.
Supports .gitignore
Match mimetypes to include
Specify any model
[!NOTE]
Uses tiktoken-go to tokenize. It may not be 100% accurate, but should be close.
# Install the CLI
go install github.com/kylecarbs/tokencounter@latest
# Compute tokens for the current directory recursively
tokencounter
# List supported models
tokencounter models