1.2.0 • Published 4 years ago
in-lambda v1.2.0
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
}