miniflare

v0.0.0-4653bbaf9
Fun, full-featured, fully-local simulator for Cloudflare Workers
cloudflare workers worker local cloudworker

dev

concurrently -n esbuild,typechk,typewrk -c yellow,blue,blue.dim "node scripts/build.mjs watch" "node scripts/types.mjs tsconfig.json watch" "node scripts/types.mjs src/workers/tsconfig.json watch"

test

node scripts/build.mjs && ava && rimraf ./.tmp

build

node scripts/build.mjs && pnpm run types:build

clean

rimraf ./dist ./dist-types

test:ci

pnpm run test

lint:fix

pnpm run check:lint --fix

check:lint

eslint --max-warnings=0 "{src,test}/**/*.ts" "scripts/**/*.{js,mjs}" "types/**/*.ts"

check:type

tsc

types:build

node scripts/types.mjs tsconfig.json && node scripts/types.mjs src/workers/tsconfig.json

capnp:workerd

capnpc -o ts src/runtime/config/workerd.capnp

Metadata

  • MIT
  • >=16.13
  • MrBBot
  • released 9/13/2024

Downloads