federation/gateway/node_modules/is-lambda
2020-11-14 16:43:58 +01:00
..
.npmignore demo project 2020-11-14 16:43:58 +01:00
.travis.yml demo project 2020-11-14 16:43:58 +01:00
index.js demo project 2020-11-14 16:43:58 +01:00
LICENSE demo project 2020-11-14 16:43:58 +01:00
package.json demo project 2020-11-14 16:43:58 +01:00
README.md demo project 2020-11-14 16:43:58 +01:00
test.js demo project 2020-11-14 16:43:58 +01:00

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