Public monorepo that publishes Cloudflare Workers infrastructure as independent npm packages. Choose the layer you need; nothing here forces a single application stack.
| Layer | Package | Use when |
|---|---|---|
| Hono API | @rdlabo/workers-hono-kit |
Shared Hono middleware for auth, validation, errors, queues, realtime, offline, and test helpers |
| MySQL | @rdlabo/workers-mysql |
Hyperdrive / MySQL runtime, optional Drizzle, and Node tooling without requiring Hono |
| Timezone | @rdlabo/workers-timezone |
IANA calendar and wall-clock conversion without Hono or MySQL |
| Development checks | @rdlabo/eslint-plugin-rules |
Companion workers-timezone/recommended policy for timezone-safe Date / Intl usage |
For a first result, choose a runnable guide: Hono HTTP, a MySQL query, or timezone conversions and ESLint. We recommend adopting the timezone library and its lint preset together; the separate installation keeps runtime and development dependencies distinct.
The workspace root npm package (workers-hono-kit) is private and is not published to the registry.
| Package | Path | Description |
|---|---|---|
@rdlabo/workers-timezone |
packages/timezone |
IANA timezone and calendar utilities for Cloudflare Workers |
@rdlabo/workers-mysql |
packages/mysql |
MySQL / Hyperdrive utilities for Cloudflare Workers |
@rdlabo/workers-hono-kit |
packages/hono-kit |
Hono middleware and infrastructure toolkit for Cloudflare Workers |
MySQL storage helpers use a fixed +09:00 wire contract. Display and business calendars use IANA
timezones from @rdlabo/workers-timezone; the two contracts are independent.
npm install
npm run typecheck
npm run lint
npm test
npm run buildSee each package README for install and API details. Maintainer release procedures live in
packages/hono-kit/docs/development.md.
MIT © rdlabo-dev