HTML templates for Workers

Hey Cloudflare, are you planning on some sort of templating system for Workers?

I know the HTMLRewriter exists but this doesn’t seem ideal for generating dynamic HTML from scratch.

I was thinking more handlebars-ish and less jQuery-ish.

I could of course use handlebars as-is but I’m worried about the bundle size and CPU time.

1 Like