cloudflare-workers-miniflare
Installation
SKILL.md
cloudflare-workers-miniflare
Overview
Miniflare 3 is the official Workers simulator. Per
developers.cloudflare.com/workers,
Miniflare 3 is built on top of workerd - the same runtime that
serves production Workers traffic. This means local-mode
behaviour matches prod with very high fidelity.
Three integration patterns:
wrangler dev(CLI; live-reload during dev).- Programmatic Miniflare (
getMiniflare(); for integration tests). @cloudflare/vitest-pool-workers(Vitest + in-process Workers; the recommended unit-test path).