Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.26 KB

index.md

File metadata and controls

34 lines (27 loc) · 1.26 KB
title
Home

🔥 Miniflare

:::warning ⚠️ These docs are for the next major version of Miniflare, which is under development. They're very likely incorrect and incomplete. :::

Miniflare is a simulator for developing and testing Cloudflare Workers.

  • 🎉 Fun: develop workers easily with detailed logging, file watching and pretty error pages supporting source maps.
  • 🔋 Full-featured: supports most Workers features, including KV, Durable Objects, WebSockets, modules and more.
  • Fully-local: test and develop Workers without an internet connection. Reload code on change quickly.

It's an alternative to wrangler dev, written in TypeScript, that runs your workers in a sandbox implementing Workers' runtime APIs.

These docs primarily cover Miniflare specific things. For more information on runtime APIs, refer to the Cloudflare Workers docs.

If you find something that doesn't behave as it does in the real Workers environment (and this difference isn't documented), or something's wrong in these docs, please open a GitHub issue.