Lodestone

Docs

Runtimes

Lodestone uses only web-standard APIs (fetch, Response, AbortSignal, URL, crypto.subtle, TextEncoder) and has no dependencies, so it is not tied to Node.

RuntimeHow it is checkedWhere
Node 20, 22 and 24the full test suite and the smoke checksnpm test, npm run smoke
Cloudflare Workersthe smoke checks run inside workerd through Miniflare, without the nodejs_compat flagnpm run smoke:workers
Denothe smoke checksdeno run --allow-read scripts/smoke.mjs
Bunthe smoke checksbun scripts/smoke.mjs

All four run in CI on every push. The smoke checks (scripts/smoke-core.mjs) are the same on every runtime: failover, cutting off a model that hangs, json(), explain(), the circuit breaker, the spend limit under a burst, per-caller rate limiting, private calls not being cached, and the Upstash, Workers KV and scorecard code paths. They use fake providers, so they need no network and no keys.

This shows the library's code runs on those runtimes. It does not show that each provider's API behaves the same from each platform's network, which only your own deployment can tell you.

Things to know on Workers