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

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