Skip to content

isabella232/durable-objects-rollup-esm

 
 

👷 Durable Objects Counter template

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 using:

  • Durable Objects
  • Modules (ES Modules to be specific)
  • Rollup
  • Wrangler

Worker code is in src/. The Durable Object Counter class is in src/counter.mjs, and the eyeball script is in index.mjs.

Rollup is configured to output a bundled ES Module to dist/index.mjs.

About

Template for durable objects, rollup, es modules

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%