A template for working with Durable Objects as WebSocket backend in Cloudflare Workers. Check out the announcement blog post to learn more.
To create a my-project
directory using this template, run:
$ npm init cloudflare my-project worker-websocket-durable-objects
# or
$ yarn create cloudflare my-project worker-websocket-durable-objects
# or
$ pnpm create cloudflare my-project worker-websocket-durable-objects
Note: Each command invokes
create-cloudflare
for project creation.