Denis 346b78aee1 first commit vor 2 Jahren
..
.npmignore 346b78aee1 first commit vor 2 Jahren
.travis.yml 346b78aee1 first commit vor 2 Jahren
LICENSE 346b78aee1 first commit vor 2 Jahren
README.md 346b78aee1 first commit vor 2 Jahren
index.js 346b78aee1 first commit vor 2 Jahren
package.json 346b78aee1 first commit vor 2 Jahren
test.js 346b78aee1 first commit vor 2 Jahren

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