JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 276
  • Score
    100M100P100Q91448F
  • License MIT

Track and analyze Claude Code usage

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/cli

    Track and analyze your Claude Code usage with TokenUse.

    Installation

    npm install -g @tokenuse/cli

    Or with yarn:

    yarn global add @tokenuse/cli

    Or with pnpm:

    pnpm add -g @tokenuse/cli

    Getting Started

    # Authenticate and start tracking (runs at startup automatically)
    tokenuse login
    
    # Check tracking status
    tokenuse status

    Commands

    • tokenuse login - Authenticate and start tracking (runs at startup)
    • tokenuse logout - Sign out and stop tracking
    • tokenuse status - Show tracking status
    • tokenuse 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.

    License

    MIT