D8D da8e66ac9e Initial commit 1 year ago
..
.npmignore da8e66ac9e Initial commit 1 year ago
.travis.yml da8e66ac9e Initial commit 1 year ago
LICENSE da8e66ac9e Initial commit 1 year ago
README.md da8e66ac9e Initial commit 1 year ago
index.js da8e66ac9e Initial commit 1 year ago
package.json da8e66ac9e Initial commit 1 year ago
test.js da8e66ac9e Initial commit 1 year ago

README.md

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