Files
droid2api/package.json
empty eb1096ce54 feat: 集成阿里云日志服务(SLS)
- 添加 aliyun-log SDK 依赖
- 新增 sls-logger.js 模块,支持批量日志上报、静默降级
- 在四个 API 处理函数中集成请求日志记录
- 更新 .env.example 添加 SLS 配置示例
2025-12-27 03:08:01 +08:00

24 lines
481 B
JSON

{
"name": "droid2api",
"version": "1.3.7",
"description": "OpenAI Compatible API Proxy",
"main": "server.js",
"type": "module",
"scripts": {
"start": "node server.js",
"dev": "node server.js"
},
"keywords": [
"openai",
"api",
"proxy"
],
"author": "",
"license": "MIT",
"dependencies": {
"express": "^4.18.2",
"https-proxy-agent": "^7.0.2",
"node-fetch": "^3.3.2",
"aliyun-log": "github:aliyun/aliyun-log-nodejs-sdk"
}
}