ai-switcher
Version:
A package which helps you switch between AI APIs using configurations, so that code changes are not required.
53 lines (52 loc) • 1.45 kB
JSON
{
"name": "ai-switcher",
"version": "0.1.0",
"description": "A package which helps you switch between AI APIs using configurations, so that code changes are not required.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"format": "prettier --write \"src/**/*.ts\"",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elliemdaw/ai-switcher.git"
},
"keywords": [
"ai",
"ai-api",
"ai-providers",
"openai-api",
"anthropic-api",
"claude-api"
],
"author": "Ellie Daw",
"license": "ISC",
"bugs": {
"url": "https://github.com/elliemdaw/ai-switcher/issues"
},
"homepage": "https://github.com/elliemdaw/ai-switcher#readme",
"dependencies": {
"@anthropic-ai/sdk": "^0.36.3",
"@types/node": "^22.13.1",
"openai": "^4.82.0",
"typescript": "^5.7.3"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"eslint": "^9.19.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"ts-jest": "^29.2.5"
}
}