Libraries for apps on Cloudflare Workers. Each is its own npm package with its own version and changelog, so an app installs only what it uses.
- workers-start
Caches, Access checks, mail, rate limits, outbound HTTP, security headers, CORS, webhook signatures, logs, cookies, signed tokens, formatting, a Discord gateway. No dependencies. - workers-jobs
Background jobs on Cron Triggers, Workflows or a Durable Object loop, with a run ledger and a D1 stand-in for tests. No dependencies. - workers-api
JSON APIs on Hono with problem responses, field-level validation errors, cursors, an OpenAPI spec and a typed client. - workers-r2
Presigned R2 upload and download URLs that pin the content type, on aws4fetch. - workers-wallet
Wallet signature checks, smart wallets included, and Sign-In with Ethereum, on viem. - workers-cards
Link preview and social cards (OG images) drawn in a Worker. You pass in satori and resvg.
Follow a package name to its README for everything in it, with examples. Install only what you use:
npm install workers-start
npm install workers-jobs
npm install workers-api
npm install workers-r2
npm install workers-wallet
npm install workers-cardsnpm install
npm run checknpm run check runs the doc reference, consumer list, package list and lockfile checks, Biome, then the typecheck, build and tests of every package, then knip. AGENTS.md has the release steps and the runbook for adding a package.
MIT