UNPKG

@codegenie/serverless-express

Version:

This library enables you to utilize AWS Lambda and Amazon API Gateway to respond to web and API requests using your existing Node.js application framework.

16 lines (12 loc) 259 B
const currentInvoke = {} function getCurrentInvoke () { return currentInvoke } function setCurrentInvoke ({ event, context }) { currentInvoke.event = event currentInvoke.context = context } module.exports = { getCurrentInvoke, setCurrentInvoke }