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
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
[package]
name = "switchyard-node"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
description = "Node.js composite routing bindings for Switchyard"
publish = false
[lib]
crate-type = ["cdylib"]
[dependencies]
napi = { version = "3", default-features = false, features = ["napi8", "tokio_rt", "dyn-symbols"] }
napi-derive = "3"
futures.workspace = true
http.workspace = true
parking_lot.workspace = true
serde.workspace = true
serde_json.workspace = true
switchyard-libsy.workspace = true
switchyard-protocol.workspace = true
switchyard-runner.workspace = true
switchyard-translation.workspace = true
tokio.workspace = true
[build-dependencies]
napi-build = "2"