miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
Your version
3.20250718.3 is the newest release of 3.x.
In short
1 new
Release note
Minor Changes
Add a
getCfmethod to Miniflare instancesadd a new
getCfmethod attached to instances ofMiniflare, thisgetCfreturns
thecfobject that the Miniflare instance provides to the actual workers and it
depends of the core option of the same nameExample:
import { Miniflare } from "miniflare"; const mf = new Miniflare({ ... }); const cf = await mf.getCf(); console.log(`country = ${cf.country} ; colo = ${cf.colo}`); // logs 'country = GB ; colo = LHR'
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.