package
Detect if your code is running on an AWS Lambda server
npm install is-lambdaGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Returns true if the current environment is an AWS
Lambda server.
npm install is-lambdavar isLambda = require('is-lambda')
if (isLambda) {
console.log('The code is running on a AWS Lambda')
}MIT