linweizeng 9fe04cf7a7 update node_modules 3 vuotta sitten
..
.npmignore 9fe04cf7a7 update node_modules 3 vuotta sitten
.travis.yml 9fe04cf7a7 update node_modules 3 vuotta sitten
LICENSE 9fe04cf7a7 update node_modules 3 vuotta sitten
README.md 9fe04cf7a7 update node_modules 3 vuotta sitten
index.js 9fe04cf7a7 update node_modules 3 vuotta sitten
package.json 9fe04cf7a7 update node_modules 3 vuotta sitten
test.js 9fe04cf7a7 update node_modules 3 vuotta sitten

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