{"library":"middy-invocation","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","middy","serverless","aws","lambda"],"install":[{"cmd":"npm install middy-invocation","imports":["const invocation = require('middy-invocation');","const { event } = require('middy-invocation'); const evt = event();","const { context } = require('middy-invocation'); const ctx = context();"]},{"cmd":"yarn add middy-invocation","imports":[]},{"cmd":"pnpm add middy-invocation","imports":[]}],"homepage":null,"github":"https://github.com/serkan-ozal/middy-invocation","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/middy-invocation","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/middy-invocation/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}