@cloudflare/sandbox
1.0.3 · 22 Oct 2026Apache-2.02.1M / weekRepositoryHomepagenpmAtom feed
0.12.14 is the newest release of 0.10.x.
In short
2 new1 fixed
Release note
Patch Changes
Add
sandbox.tunnelsnamespace with quick-tunnel support. Callsandbox.tunnels.get(port)to obtain ahttps://<words>.trycloudflare.comURL that proxies tolocalhost:<port>inside the sandbox. The call is idempotent: repeated calls for the same port return the same record from per-sandbox Durable Object storage. No Cloudflare account or DNS setup required.const tunnel = await sandbox.tunnels.get(8080); console.log(tunnel.url); // → https://random-words-here.trycloudflare.com const same = await sandbox.tunnels.get(8080); console.log(same.url === tunnel.url); // true await sandbox.tunnels.list(); await sandbox.tunnels.destroy(8080); // or destroy(tunnel)
Add credential-less R2 bucket mounting via egress interception
Fix inconsistencies in the sandbox.desktop interface between RPC and HTTP transports
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.