linweizeng 9fe04cf7a7 update node_modules 3 anni fa
..
.npmignore 9fe04cf7a7 update node_modules 3 anni fa
.travis.yml 9fe04cf7a7 update node_modules 3 anni fa
LICENSE 9fe04cf7a7 update node_modules 3 anni fa
README.md 9fe04cf7a7 update node_modules 3 anni fa
index.js 9fe04cf7a7 update node_modules 3 anni fa
package.json 9fe04cf7a7 update node_modules 3 anni fa
test.js 9fe04cf7a7 update node_modules 3 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