D8D 3fa1803c80 Initial commit 1 rok pred
..
.npmignore 3fa1803c80 Initial commit 1 rok pred
.travis.yml 3fa1803c80 Initial commit 1 rok pred
LICENSE 3fa1803c80 Initial commit 1 rok pred
README.md 3fa1803c80 Initial commit 1 rok pred
index.js 3fa1803c80 Initial commit 1 rok pred
package.json 3fa1803c80 Initial commit 1 rok pred
test.js 3fa1803c80 Initial commit 1 rok pred

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