Cloudflare Dynamic Workers

npm playground

Try real npm packages in a secure, network-isolated Dynamic Worker. Start with one of five built-in examples or choose any package and write your own code.

How it works

The UI is served as static assets, while /api/run bundles the chosen package at runtime and executes your module code in an isolated sandbox.

Starter ideas

Each sample fills the package field and editor with runnable starter code.

Editor

Write normal module code with imports at the top.

Recommended shape: import { z } from "zod"; return z.object(...).parse(...);

Execution

Ready to run.

Result

Run a package example to see output here.

Console

No logs yet.

Bundle warnings

No warnings.