Skip to content

About

Libraries for apps on Cloudflare Workers

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

workers-kit

CI License: MIT

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.

Packages

  • workers-start npm
    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 npm
    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 npm
    JSON APIs on Hono with problem responses, field-level validation errors, cursors, an OpenAPI spec and a typed client.
  • workers-r2 npm
    Presigned R2 upload and download URLs that pin the content type, on aws4fetch.
  • workers-wallet npm
    Wallet signature checks, smart wallets included, and Sign-In with Ethereum, on viem.
  • workers-cards npm
    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-cards

Working on it

npm install
npm run check

npm 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.

License

MIT

About

Libraries for apps on Cloudflare Workers

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages