backend/lib/node/node_modules/is-lambda
2024-10-26 17:26:06 +02:00
..
.npmignore [mod] node module handing 2024-10-26 17:26:06 +02:00
.travis.yml [mod] node module handing 2024-10-26 17:26:06 +02:00
index.js [mod] node module handing 2024-10-26 17:26:06 +02:00
LICENSE [mod] node module handing 2024-10-26 17:26:06 +02:00
package.json [mod] node module handing 2024-10-26 17:26:06 +02:00
README.md [mod] node module handing 2024-10-26 17:26:06 +02:00
test.js [mod] node module handing 2024-10-26 17:26:06 +02:00

is-lambda

Returns true if the current environment is an AWS Lambda server.

Build status js-standard-style

Installation

npm install is-lambda

Usage

var isLambda = require('is-lambda')

if (isLambda) {
  console.log('The code is running on a AWS Lambda')
}

License

MIT