in-lambda
v1.2.0
Published
Returns a boolean value depending if code is executing within AWS Lambda.
Readme
in-lambda
Returns a boolean value depending on whether code is executing within AWS Lambda.
Installation
yarn add in-lambda or npm install in-lambda
Example Usage
const inLambda = require('in-lambda');
if(inLambda) {
// Lambda code
}