UNPKG

tokenrouter

Version:

TypeScript/JavaScript SDK for TokenRouter - Intelligent LLM Routing API

62 lines 1.41 kB
{ "name": "tokenrouter", "version": "1.0.9", "description": "TypeScript/JavaScript SDK for TokenRouter - Intelligent LLM Routing API", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts", "format": "prettier --write src/**/*.ts", "prepublishOnly": "npm run build" }, "keywords": [ "tokenrouter", "llm", "ai", "openai", "anthropic", "mistral", "api", "sdk", "routing", "cost-optimization" ], "author": "TokenRouter Team", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/tokenrouter/sdk-node" }, "bugs": { "url": "https://github.com/tokenrouter/sdk-node/issues" }, "homepage": "https://docs.tokenrouter.io", "dependencies": { "axios": "^1.6.0", "eventsource": "^2.0.2" }, "devDependencies": { "@types/eventsource": "^1.1.11", "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.50.0", "jest": "^29.5.0", "prettier": "^3.0.0", "ts-jest": "^29.1.0", "typescript": "^5.0.0" }, "engines": { "node": ">=14.0.0" }, "files": [ "dist", "README.md", "LICENSE" ] }