Middy Invocation Middleware

JSON →
library 1.0.0 ·javascript
verified May 27, 2026
aws

A middleware for the Middy framework (v2.5.3+ peer dependency) that provides global access to current AWS Lambda invocation event and context from anywhere in your code, eliminating the need to pass them as arguments through function calls. This is a small, focused utility with no active development since v1.0.0 (2022). Key differentiator: it uses async hooks (presumably) to store the invocation context, enabling access from deeply nested modules. Similar libraries include @middy/core's built-in context sharing, but this offers a simpler getter pattern. Only one known release (v1.0.0) with no changelog or updates.

total hits 24
actors 8 distinct systems
last hit 1d ago AhrefsBot
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1
Humans
6

top countries 🇺🇸 United States · VN · 🇫🇮 Finland · 🇨🇦 Canada · 🇬🇧 United Kingdom