NeahNew/node_modules/is-lambda
2025-05-06 22:43:27 +02:00
..
.npmignore electron 2025-05-06 22:43:27 +02:00
.travis.yml electron 2025-05-06 22:43:27 +02:00
index.js electron 2025-05-06 22:43:27 +02:00
LICENSE electron 2025-05-06 22:43:27 +02:00
package.json electron 2025-05-06 22:43:27 +02:00
README.md electron 2025-05-06 22:43:27 +02:00
test.js electron 2025-05-06 22:43:27 +02: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