#4545th of 110 in Backend and cloud templates
middy
Middleware engine for AWS Lambda handlers on Node.js
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 3.9k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Aug 2026
- Language
- JavaScript
3,876 on 26 Apr 20263,903 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Middy wraps AWS Lambda handlers in a middleware chain so parsing, validation, auth, error handling and AWS service integration live outside business logic. The core depends only on @middy/util, and 56 official packages cover API Gateway, SQS, S3, DynamoDB, SNS, EventBridge, Kinesis, Kafka and WebSockets. It is a general Lambda library with no AI-specific features.
Who it is for: Node.js developers building production AWS Lambda functions
Strengths
- Small core with only @middy/util as a dependency and no AWS SDK bundled
- 56 official middleware packages for common event sources and AWS services
- Built-in TypeScript types plus routers for HTTP, WebSocket and CloudFormation resources
- Supports Lambda response streaming and durable functions
Weaknesses
- Lambda-only; handlers are not portable to other serverless platforms
- Requires Node.js 24 or newer and ESM
- No AI or model features; it is general Lambda plumbing
What it needs
- JavaScript
- Needs AWS Lambda, Node.js >= 24
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Backend and cloud templates
See all 110| Rank | Project | Score |
|---|---|---|
| #43 | cloud-foundation-fabricTerraform modules and landing-zone blueprints for Google Cloud organizations | 72 out of 100 |
| #44 | litestarTyped Python ASGI framework for building APIs with OpenAPI generation | 71 out of 100 |
| #46 | ultimoRust web framework on Hyper and Tokio that generates TypeScript clients | 71 out of 100 |
| #47 | ginGo HTTP web framework with a zero-allocation router and middleware | 70 out of 100 |
| #48 | microservices-demoEleven-service e-commerce demo for Kubernetes, with gRPC between services | 70 out of 100 |