Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tokenuse) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
tokenuse
Track and analyze your Claude Code usage with TokenUse.
Quick Start
# One command - auto signs in if needed
npx tokenuse@latestInstallation
One-time execution (no install needed)
# npx (recommended)
npx tokenuse@latest
# bunx
bunx tokenuse@latest
# pnpm
pnpm dlx tokenuse@latestGlobal installation
# npm
npm install -g tokenuse
# yarn
yarn global add tokenuse
# pnpm
pnpm add -g tokenuse
# bun
bun add -g tokenuseHomebrew (macOS/Linux)
brew tap tokenuse/tap
brew install tokenuseUsage
# Start tracking (auto signs in if needed)
tokenuse
# Check tracking status
tokenuse status
# Show version
tokenuse versionCommands
tokenuse- Start tracking (auto signs in if not authenticated)tokenuse status- Show tracking statustokenuse version- Show version information
Requirements
- Node.js 18 or later
- macOS or Linux
- Claude Code installed and used at least once
How It Works
TokenUse monitors your Claude Code session logs and tracks:
- Token usage (input, output, cache)
- Session activity
- Model usage
Data is securely streamed to the TokenUse API for analysis and visualization.
Links
License
MIT