D8D 3fa1803c80 Initial commit 1 year ago
..
.npmignore 3fa1803c80 Initial commit 1 year ago
.travis.yml 3fa1803c80 Initial commit 1 year ago
LICENSE 3fa1803c80 Initial commit 1 year ago
README.md 3fa1803c80 Initial commit 1 year ago
index.js 3fa1803c80 Initial commit 1 year ago
package.json 3fa1803c80 Initial commit 1 year ago
test.js 3fa1803c80 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