UNPKG

copilot-api

Version:

Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!

64 lines (63 loc) 1.67 kB
{ "name": "copilot-api", "version": "0.5.13", "description": "Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!", "keywords": [ "proxy", "github-copilot", "openai-compatible" ], "homepage": "https://github.com/ericc-ch/copilot-api", "bugs": "https://github.com/ericc-ch/copilot-api/issues", "repository": { "type": "git", "url": "git+https://github.com/ericc-ch/copilot-api.git" }, "author": "Erick Christian <erickchristian48@gmail.com>", "type": "module", "bin": { "copilot-api": "./dist/main.js" }, "files": [ "dist" ], "scripts": { "build": "tsdown", "dev": "bun run --watch ./src/main.ts", "knip": "knip-bun", "lint": "eslint . --cache", "prepack": "bun run build", "prepare": "simple-git-hooks", "release": "bumpp && bun publish --access public", "start": "NODE_ENV=production bun run ./src/main.ts", "typecheck": "tsc" }, "simple-git-hooks": { "pre-commit": "bunx lint-staged" }, "lint-staged": { "*": "bun run lint --fix" }, "dependencies": { "citty": "^0.1.6", "clipboardy": "^4.0.0", "consola": "^3.4.2", "fetch-event-stream": "^0.1.5", "gpt-tokenizer": "^3.0.1", "hono": "^4.9.0", "srvx": "^0.8.6", "tiny-invariant": "^1.3.3" }, "devDependencies": { "@echristian/eslint-config": "^0.0.52", "@types/bun": "^1.2.19", "bumpp": "^10.2.2", "eslint": "^9.33.0", "knip": "^5.62.0", "lint-staged": "^16.1.5", "prettier-plugin-packagejson": "^2.5.19", "simple-git-hooks": "^2.13.1", "tsdown": "^0.14.2", "typescript": "^5.9.2" } }