@cloudflare/sandbox
1.0.3 · 22 Oct 2026Apache-2.02.1M / weekRepositoryHomepagenpmAtom feed
0.12.14 is the newest release of 0.4.x.
In short
1 new
Release note
Patch Changes
Add exists() method to check if a file or directory exists
This adds a new
exists()method to the SDK that checks whether a file or directory exists at a given path. The method returns a boolean indicating existence, similar to Python'sos.path.exists()and JavaScript'sfs.existsSync().The implementation is end-to-end:
New
FileExistsResultandFileExistsRequesttypes in shared packageHandler endpoint at
/api/existsin container layerClient method in
FileClientandSandboxclassesFull test coverage (unit tests and E2E tests)
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.