{
  "name": "openai-chat-tokens",
  "version": "0.2.8",
  "description": "Estimate the number of tokens an OpenAI chat completion request will use",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist"
  ],
  "scripts": {
    "test": "jest",
    "build": "tsc",
    "prepublishOnly": "npm run build",
    "lint": "prettier --check src tests"
  },
  "author": {
    "email": "harry@hmarr.com",
    "name": "Harry Marr",
    "url": "https://hmarr.com"
  },
  "repository": {
    "url": "https://github.com/hmarr/openai-chat-tokens",
    "type": "git"
  },
  "license": "MIT",
  "devDependencies": {
    "@types/jest": "^29.5.3",
    "jest": "^29.6.1",
    "openai": "^4.10.0",
    "prettier": "^3.0.2",
    "ts-jest": "^29.1.1",
    "typescript": "^5.1.6"
  },
  "dependencies": {
    "js-tiktoken": "^1.0.7"
  },
  "prettier": {
    "trailingComma": "all"
  }
}
