{
  "name": "@tokenometer/core",
  "version": "2.2.0",
  "description": "Tokenometer core library — multi-provider LLM token cost, latency, and vision-token estimation with empirical countTokens fallback (Anthropic, OpenAI, Google, Mistral, Cohere).",
  "license": "MIT",
  "author": "Faraazuddin Mohammed <mohdfaraaz1@gmail.com>",
  "homepage": "https://tokenometer.dev",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/faraa2m/tokenometer.git",
    "directory": "packages/core"
  },
  "bugs": {
    "url": "https://github.com/faraa2m/tokenometer/issues"
  },
  "keywords": [
    "ai",
    "anthropic",
    "ci-cd",
    "cl100k",
    "claude",
    "claude-code",
    "claude-code-skill",
    "code-scanning",
    "codestral",
    "cohere",
    "command-r-08-2024",
    "cost",
    "cost-calculator",
    "cursor",
    "gemini",
    "github-action",
    "gpt",
    "gpt-4o",
    "latency",
    "llm",
    "llm-cost",
    "mistral",
    "mistral-7b",
    "mistral-large",
    "mixtral",
    "model-comparison",
    "multimodal",
    "o200k",
    "openai",
    "pixtral",
    "prompt",
    "prompt-cost",
    "prompt-cost-regression",
    "prompt-engineering",
    "prompt-regression",
    "sarif",
    "tiktoken",
    "token",
    "token-budget",
    "tokenizer",
    "ttft",
    "vision-tokens",
    "vscode"
  ],
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./browser": {
      "types": "./dist/browser.d.ts",
      "import": "./dist/browser.js"
    },
    "./empirical": {
      "types": "./dist/empirical.d.ts",
      "import": "./dist/empirical.js"
    }
  },
  "files": ["dist", "README.md"],
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "scripts": {
    "build": "tsc -b",
    "check:overrides": "node scripts/check-overrides.mjs",
    "clean": "rm -rf dist",
    "snapshot:registry": "node scripts/snapshot-registry.mjs"
  },
  "dependencies": {
    "@anthropic-ai/sdk": "^0.95.0",
    "@google/generative-ai": "^0.24.1",
    "@tokenlens/models": "^1.3.0",
    "gpt-tokenizer": "^3.4.0",
    "mistral-tokenizer-js": "^1.0.0",
    "tokenlens": "^1.3.1",
    "yaml": "^2.8.4"
  },
  "devDependencies": {
    "typescript": "^5.7.2",
    "vitest": "^4.1.8"
  }
}
