@rocketnew/llm-sdk
Version:
Universal LLM SDK for JavaScript/TypeScript - OpenAI, Anthropic, Gemini, Perplexity and more
71 lines (70 loc) • 1.95 kB
JSON
{
"name": "@rocketnew/llm-sdk",
"version": "1.1.0",
"description": "Universal LLM SDK for JavaScript/TypeScript - OpenAI, Anthropic, Gemini, Perplexity and more",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "npm run build",
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
"type-check": "tsc --noEmit",
"test": "npm run test:unit && npm run test:integration:fast",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"test:integration": "vitest run tests/local_testing --testTimeout=120000",
"test:integration:fast": "vitest run tests/local_testing/test_anthropic_completion.test.ts tests/local_testing/test_openai_completion.test.ts",
"test:unit": "vitest run tests/test_rocketllm",
"test:images": "vitest run tests/local_testing/test_openai_image_generation.test.ts --testTimeout=120000",
"prepublishOnly": "npm run test:unit && npm run build",
"proxy:start": "node test-proxy-server.js",
"proxy:test": "tsx examples/test-proxy-routing.ts"
},
"keywords": [
"rocketllm",
"litellm",
"llm",
"ai",
"anthropic",
"openai",
"gemini",
"perplexity",
"unified-api",
"claude",
"gpt",
"typescript",
"sdk",
"rocket"
],
"author": "Rocket Team",
"license": "MIT",
"publishConfig": {
"access": "public",
"tag": "latest"
},
"devDependencies": {
"@types/express": "^5.0.6",
"@types/node": "^20.10.0",
"@vitest/ui": "^1.2.0",
"dotenv": "^17.2.3",
"express": "^4.22.1",
"semver": "^7.7.4",
"tsx": "^4.21.0",
"vitest": "^1.2.0"
},
"dependencies": {
"openai": "^6.15.0",
"tsup": "^8.0.1",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=20"
}
}