# dougmoscrop/serverless-http

Use your existing middleware framework (e.g. Express, Koa) in AWS Lambda 🎉

Repository: https://github.com/dougmoscrop/serverless-http
Canonical: https://ross.abutalabs.com/products/serverless-http
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2025-09-01T03:27:27+00:00

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

## Adoption (not part of the score)
Stars 1778, forks 173 (observed 2026-08-28T04:05:35.236664+00:00)

## What it is
A Node.js library that wraps existing web frameworks like Express, Koa, and Connect so they can run inside serverless functions (primarily AWS Lambda) without an HTTP server or sockets. It translates serverless platform events into requests your middleware pipeline can handle and responses back into platform-compatible replies.

## Use cases
- run an express app in aws lambda
- deploy koa middleware to api gateway
- migrate existing node http server to serverless
- wrap connect middleware for lambda handler
- use fastify or hapi in a serverless function
- avoid running a server in lambda

## When to choose
- you have an existing Express/Koa/Connect app you want to run on AWS Lambda without rewriting
- you want to keep middleware-based request handling in a serverless environment
- you need broad framework support including experimental ones like Fastify or Hapi

## When to avoid
- you are building a new serverless API from scratch and can use a native serverless framework
- you need long-lived connections, WebSockets, or streaming responses
- your target platform is not AWS, Genezio, or Azure

## Facets
- artifact type: library
- maturity: stable
- function: http-server, middleware, routing
- domain: web-development, backend, cloud-computing
- platform: cloud, serverless
- tags: aws-lambda, express, koa, api-gateway, serverless-functions, adapter, serverless, nodejs

## Member repositories
- dougmoscrop/serverless-http (main) score 50

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.236664+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:25:10.051964+00:00, confidence not recorded.
  - readme: https://github.com/dougmoscrop/serverless-http (fetched 2026-08-28T04:05:35.236664+00:00, sha c17baba27ba6)
  - registry_npm: https://registry.npmjs.org/serverless-http (fetched 2026-08-29T11:03:38.018461+00:00, sha 91f8078dd4c5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
