revenium-middleware-litellm-node
Version:
Comprehensive middleware for Node.js applications using LiteLLM Proxy to automatically track LLM usage, costs, and performance metrics with Revenium
73 lines (72 loc) • 2.34 kB
JSON
{
"name": "revenium-middleware-litellm-node",
"version": "1.1.2",
"description": "Comprehensive middleware for Node.js applications using LiteLLM Proxy to automatically track LLM usage, costs, and performance metrics with Revenium",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"clean": "rm -rf dist",
"prepublishOnly": "npm run build",
"test:basic": "REVENIUM_DEBUG=true npx tsx tests/integration/01-basic-connectivity.ts",
"test:proxy": "REVENIUM_DEBUG=true npx tsx tests/integration/02-proxy-requests.ts",
"test:metadata": "REVENIUM_DEBUG=true npx tsx tests/integration/03-metadata-tracking.ts",
"test:providers": "REVENIUM_DEBUG=true npx tsx tests/integration/04-multi-provider.ts",
"test:streaming": "REVENIUM_DEBUG=true npx tsx tests/integration/05-streaming.ts",
"test:embeddings": "REVENIUM_DEBUG=true npx tsx tests/integration/06-embeddings.ts",
"test:model-source": "REVENIUM_DEBUG=true npx tsx tests/integration/07-model-source-test.ts",
"test:all": "npm run test:basic && npm run test:proxy && npm run test:metadata && npm run test:providers && npm run test:streaming && npm run test:embeddings && npm run test:model-source"
},
"keywords": [
"revenium",
"litellm",
"llm",
"ai",
"middleware",
"tracking",
"analytics",
"openai",
"anthropic",
"streaming",
"usage",
"metrics",
"monitoring"
],
"author": "Revenium Inc.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/revenium-io/revenium-middleware-litellm-node.git"
},
"bugs": {
"url": "https://github.com/revenium-io/revenium-middleware-litellm-node/issues"
},
"homepage": "https://github.com/revenium-io/revenium-middleware-litellm-node#readme",
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/node-fetch": "^2.6.4",
"dotenv": "^16.0.0",
"node-fetch": "^2.6.7",
"ts-node": "^10.9.0",
"tsx": "^4.0.0",
"typescript": "^5.0.0"
},
"dependencies": {},
"peerDependencies": {
"node-fetch": "^2.6.0 || ^3.0.0"
},
"peerDependenciesMeta": {
"node-fetch": {
"optional": true
}
}
}