#4545th of 110 in Backend and cloud templates

middy

Middleware engine for AWS Lambda handlers on Node.js

Releases and problems feed (RSS)

Stars
3.9k
License
MIT
Last commit
Nov 2026
Last release
Aug 2026
Language
JavaScript
Stars, last 30 weeks+27
26 Apr 2026: 3,876 stars3 May 2026: 3,877 stars10 May 2026: 3,879 stars17 May 2026: 3,882 stars24 May 2026: 3,882 stars31 May 2026: 3,882 stars7 Jun 2026: 3,883 stars14 Jun 2026: 3,883 stars21 Jun 2026: 3,885 stars28 Jun 2026: 3,885 stars5 Jul 2026: 3,888 stars12 Jul 2026: 3,893 stars19 Jul 2026: 3,893 stars26 Jul 2026: 3,893 stars2 Aug 2026: 3,893 stars9 Aug 2026: 3,893 stars16 Aug 2026: 3,893 stars23 Aug 2026: 3,894 stars30 Aug 2026: 3,895 stars6 Sept 2026: 3,895 stars13 Sept 2026: 3,895 stars20 Sept 2026: 3,895 stars27 Sept 2026: 3,896 stars4 Oct 2026: 3,897 stars11 Oct 2026: 3,898 stars18 Oct 2026: 3,900 stars25 Oct 2026: 3,901 stars1 Nov 2026: 3,903 stars8 Nov 2026: 3,903 stars15 Nov 2026: 3,903 stars22 Nov 2026: 3,903 stars

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
Also in Backend and cloud templates
RankProjectScore
#43cloud-foundation-fabricTerraform modules and landing-zone blueprints for Google Cloud organizations2.1k starsApache-2.072 out of 100
#44litestarTyped Python ASGI framework for building APIs with OpenAPI generation8.6k stars+59 (+0.7%) in 30 daysMIT71 out of 100
#46ultimoRust web framework on Hyper and Tokio that generates TypeScript clients Live demo ↗ (opens in a new tab)554 starsMIT71 out of 100
#47ginGo HTTP web framework with a zero-allocation router and middleware89.6k starsMIT70 out of 100
#48microservices-demoEleven-service e-commerce demo for Kubernetes, with gRPC between services21.2k stars+150 (+0.7%) in 30 daysApache-2.070 out of 100