D8D 2ab642edb8 Initial commit před 1 rokem
..
.npmignore 2ab642edb8 Initial commit před 1 rokem
.travis.yml 2ab642edb8 Initial commit před 1 rokem
LICENSE 2ab642edb8 Initial commit před 1 rokem
README.md 2ab642edb8 Initial commit před 1 rokem
index.js 2ab642edb8 Initial commit před 1 rokem
package.json 2ab642edb8 Initial commit před 1 rokem
test.js 2ab642edb8 Initial commit před 1 rokem

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