cocktails-book-back-end/node_modules/is-lambda
luigimnegri fed20a9605 Initial commit 2026-01-29 21:03:56 +01:00
..
.npmignore Initial commit 2026-01-29 21:03:56 +01:00
.travis.yml Initial commit 2026-01-29 21:03:56 +01:00
LICENSE Initial commit 2026-01-29 21:03:56 +01:00
README.md Initial commit 2026-01-29 21:03:56 +01:00
index.js Initial commit 2026-01-29 21:03:56 +01:00
package.json Initial commit 2026-01-29 21:03:56 +01:00
test.js Initial commit 2026-01-29 21:03:56 +01:00

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