lb-fetch
JSON →A lightweight load-balanced fetch wrapper that distributes HTTP requests across multiple server URLs. v1.1.0 supports both string and URL inputs, configurable balancer strategies (default random shuffle), and custom success predicates. Works with any fetch-compatible environment (Node.js, browser, Deno) and includes TypeScript types. Differs from traditional load balancers by providing client-side, application-level fallback: if one endpoint fails (throws or returns a server error >=500), it automatically tries the next URL.
Resources
packagelb-fetch ↗