rittenhop-dev/versions/5.94.2/node_modules/is-lambda
2024-09-23 19:40:12 -04:00
..
.npmignore first commit 2024-09-23 19:40:12 -04:00
.travis.yml first commit 2024-09-23 19:40:12 -04:00
index.js first commit 2024-09-23 19:40:12 -04:00
LICENSE first commit 2024-09-23 19:40:12 -04:00
package.json first commit 2024-09-23 19:40:12 -04:00
README.md first commit 2024-09-23 19:40:12 -04:00
test.js first commit 2024-09-23 19:40:12 -04: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