-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.48 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "tierflow",
"version": "2.0.0",
"description": "Self-hosted AI model router with ML-powered classification, PII scrubbing, and automatic fallback. Route LLM requests to the cheapest capable model using your own API keys. Supports OpenAI, Anthropic, Ollama, OpenRouter, and any OpenAI-compatible provider.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"homepage": "https://github.com/frdaniel76/tierflow",
"repository": {
"type": "git",
"url": "https://github.com/frdaniel76/tierflow.git"
},
"bugs": {
"url": "https://github.com/frdaniel76/tierflow/issues"
},
"author": "TierFlow Contributors",
"keywords": [
"llm",
"ai",
"model-router",
"openai",
"anthropic",
"ollama",
"openrouter",
"proxy",
"gateway",
"pii",
"privacy",
"cost-optimization",
"ml-classifier",
"self-hosted",
"model-routing",
"ai-gateway",
"llm-proxy",
"smart-routing",
"api-router",
"token-savings",
"claude",
"gpt",
"deepseek",
"gemini",
"chatgpt",
"openai-compatible",
"chat-completions",
"streaming",
"fallback",
"load-balancing"
],
"bin": {
"tierflow": "dist/cli.js"
},
"files": [
"dist/*.js",
"dist/*.d.ts",
"src/ml/training-data.json",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"start": "node dist/server.js",
"dev": "npx tsx src/server.ts",
"build": "tsup",
"build:tsc": "tsc",
"typecheck": "tsc --noEmit",
"test": "npx tsx --test test/unit/*.test.ts",
"test:integration": "npx tsx --test test/integration/*.test.ts",
"test:all": "npx tsx --test test/unit/*.test.ts test/integration/*.test.ts",
"test:legacy": "npx tsx test/test-router.ts",
"bench": "npx tsx bench/runner.ts",
"bench:ml": "npx tsx bench/runner.ts --ml",
"bench:live": "npx tsx bench/live-benchmark.ts",
"demo:generate": "npx tsx demo/generate-demo-data.ts",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepublishOnly": "npm run build && npm run typecheck"
},
"license": "MIT",
"devDependencies": {
"@types/node": "^25.2.3",
"eslint": "^9.0.0",
"prettier": "^3.4.0",
"tsup": "^8.4.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"typescript-eslint": "^8.57.2"
},
"optionalDependencies": {
"@huggingface/transformers": "^3.8.1"
}
}