Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.
Rust
{
"name": "@switchyard/libsy",
"version": "0.3.0",
"private": true,
"description": "Composite routing bindings for Switchyard",
"license": "Apache-2.0",
"type": "module",
"engines": { "node": ">=22.19.0" },
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": ["dist", "LICENSE", "NOTICE", "README.md"],
"scripts": {
"build": "node scripts/build.mjs && tsc",
"typecheck": "tsc --noEmit -p tsconfig.test.json",
"test": "node --test test/*.test.mjs"
},
"devDependencies": {
"@types/node": "22.19.19",
"typescript": "5.9.3"
}
}