Skip to content

Latest commit

 

History

History
 
 

worker-websocket-durable-objects

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Template: worker-websocket-durable-objects

Deploy to Cloudflare Workers

A template for working with Durable Objects as WebSocket backend in Cloudflare Workers. Check out the announcement blog post to learn more.

Setup

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.