UNPKG

@nghyane/copilot-api

Version:

A wrapper around GitHub Copilot API to make it OpenAI compatible, making it usable for other tools.

59 lines (58 loc) 1.51 kB
{ "name": "@nghyane/copilot-api", "version": "1.0.1-beta.2", "description": "A wrapper around GitHub Copilot API to make it OpenAI compatible, making it usable for other tools.", "keywords": [ "proxy", "github-copilot", "openai-compatible" ], "homepage": "https://github.com/nghyane/copilot-api", "bugs": "https://github.com/nghyane/copilot-api/issues", "repository": { "type": "git", "url": "git+https://github.com/nghyane/copilot-api.git" }, "author": "Nghyane <hoangvananhnghia@gmail.com>", "type": "module", "bin": { "copilot-api": "./dist/main.js" }, "files": [ "dist" ], "scripts": { "build": "tsup", "dev": "bun run --watch ./src/main.ts", "knip": "knip-bun", "lint": "eslint .", "prepack": "bun run build", "prepare": "simple-git-hooks", "release": "bumpp && bun publish --access public", "start": "NODE_ENV=production bun run ./src/main.ts" }, "simple-git-hooks": { "pre-commit": "bunx lint-staged" }, "lint-staged": { "*": "bunx eslint --fix" }, "dependencies": { "citty": "^0.1.6", "consola": "^3.4.2", "fetch-event-stream": "^0.1.5", "hono": "^4.7.11" }, "devDependencies": { "@echristian/eslint-config": "^0.0.43", "@types/bun": "^1.2.15", "bumpp": "^10.1.1", "eslint": "^9.28.0", "jiti": "^2.4.2", "knip": "^5.60.2", "lint-staged": "^16.1.0", "simple-git-hooks": "^2.13.0", "tsup": "^8.5.0", "typescript": "^5.8.3" } }