Skip to main content

Factory Core

Factory Core is a collection of 19 TypeScript packages that provide battle-tested, reusable infrastructure for Cloudflare Workers applications. Every Factory app installs only what it needs.

Stack

Packages

Design Principles

  • No process.env — every package uses Cloudflare Worker bindings (env.VAR / c.env.VAR)
  • No Node.js built-ins — no fs, path, crypto, Buffer
  • ESM only — no CommonJS require()
  • Zero any in public APIs — TypeScript strict throughout
  • Explicit error handling — no raw fetch without error checking