Skip to content

Latest commit

 

History

History
 
 

worker-durable-objects

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Template: worker-durable-objects

Deploy to Cloudflare Workers

Note: You must use wrangler 1.19.3 or newer to use this template.

Please read the Durable Object documentation before using this template.

A template for kick-starting a Cloudflare Workers project that uses Durable Objects.

Setup

To create a my-project directory using this template, run:

$ npm init cloudflare my-project worker-durable-objects
# or
$ yarn create cloudflare my-project worker-durable-objects
# or
$ pnpm create cloudflare my-project worker-durable-objects

Note: Each command invokes create-cloudflare for project creation.