node-ejs-renderer/node_modules/is-lambda
2024-06-09 13:55:01 -04:00
..
.npmignore Main initial commit 2024-06-09 13:55:01 -04:00
.travis.yml Main initial commit 2024-06-09 13:55:01 -04:00
index.js Main initial commit 2024-06-09 13:55:01 -04:00
LICENSE Main initial commit 2024-06-09 13:55:01 -04:00
package.json Main initial commit 2024-06-09 13:55:01 -04:00
README.md Main initial commit 2024-06-09 13:55:01 -04:00
test.js Main initial commit 2024-06-09 13:55:01 -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