Packages

@cloudflare/sandbox

1.0.3 · 22 Oct 2026Apache-2.02.1M / weekRepositoryHomepagenpmAtom feed

Your version

0.10.2

21 May 2026Where it was published

0.12.14 is the newest release of 0.10.x.

In short

2 new1 fixed

Release note

Patch Changes

  • Add sandbox.tunnels namespace with quick-tunnel support. Call sandbox.tunnels.get(port) to obtain a https://<words>.trycloudflare.com URL that proxies to localhost:<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.