Develop, test, and deploy Cloudflare Workers with Deno
denoflare is a single cli tool to make developing and deploying Cloudflare Workers simple.
No need for Wrangler , Node , npm , or webpack 🤯 🤯 🤯 🤯
Deno is a great fit for Workers development, the runtime is based on the modern Web Platform , just like Workers, is secure by default , is based on ESM modules , and has a built-in bundler .
- Give you first-class support for ESM-based workers
- Help you develop and test a worker, by running locally inside a permissionless Deno isolate, similar to the
- see denoflare serve
- see denoflare push
- Monitor your workers in production from the command line
- see denoflare tail
- Generate a customizable static documentation site for Cloudflare Pages in the style of Cloudflare's
- see denoflare site
- Keep track of your Durable Objects and R2 costs and statistics
- Call the Cloudflare REST API from the command line
- see denoflare cfapi
- Manage Cloudflare R2 storage using the S3 compatibility API
- see denoflare r2
Deploy via files or URLs
Denoflare leverages Deno for bundling, so it works great for local files, but also URLs. Deploying a module-based hello worker is trivial:
denoflare push https://raw.githubusercontent.com/skymethod/denoflare/v0.5.11/examples/hello-worker/hello.ts
Denoflare is still under active initial development (pre 1.0), but is completely open-source and can be used as is.
analytics subcommands have been stable for while, so the focus at the moment is to provide first-class support for the expanding suite of Cloudflare's platform products such as:
Join the project over on the Denoflare GitHub repo .
Made with Denoflare
These projects are known to have used
denoflare for development.
Watch live requests and logs for your Cloudflare Workers in the browser!
Support this project
Contributions to help fund ongoing development of Denoflare are welcome and appreciated!