# lukeed/worktop

The next generation web framework for Cloudflare Workers

Repository: https://github.com/lukeed/worktop
Canonical: https://ross.abutalabs.com/products/worktop
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2024-01-19T00:24:48+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2341, "days_push": 958, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1684, forks 41 (observed 2026-08-28T04:05:21.911893+00:00)

## What it is
worktop is a lightweight TypeScript web framework for building HTTP APIs on Cloudflare Workers. It provides a router with pattern definitions, middleware support, request/response helpers, and à la carte submodules including KV utilities.

## Use cases
- build a REST API on Cloudflare Workers
- route requests with path patterns in a worker
- read and write Cloudflare KV from an API handler
- add custom middleware to worker request handling
- parse JSON or form request bodies in a worker
- queue background tasks after responding in a worker

## When to choose
- you are building HTTP APIs specifically for Cloudflare Workers
- you want a tiny, treeshakable framework with first-class TypeScript support
- you need routing and KV helpers without heavy dependencies

## When to avoid
- you need a framework that runs outside Cloudflare Workers
- you want a large ecosystem with extensive plugins and community support
- you need frequent updates or long-term guaranteed maintenance

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, routing, middleware, http-server
- domain: web-development, backend, apis
- platform: cloud, serverless
- tags: cloudflare-workers, edge-computing, kv-storage, lightweight, serverless, typescript, nodejs

## Member repositories
- lukeed/worktop (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:21.911893+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:41:16.852553+00:00, confidence not recorded.
  - readme: https://github.com/lukeed/worktop (fetched 2026-08-28T04:05:21.911893+00:00, sha 250b28dabd6a)
  - registry_npm: https://registry.npmjs.org/worktop (fetched 2026-08-29T11:14:18.792069+00:00, sha d6c55281cd4f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
