async fetch(_request, _env, _ctx) {
	if (!doc) {
		doc = Automerge.from({message: "hello workerd"})
	}
	return new Response(JSON.stringify(doc))
  }
Welcome to Cloudflare Workers! This is your first worker.

- Run `npm run dev` in your terminal to start a development server
- Open a browser tab at http://localhost:8787/ to see your worker in action
- Run `npm run deploy` to publish your worker

Learn more at https://developers.cloudflare.com/workers/