parcoursup/node_modules/is-lambda
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00
..
.npmignore $ 2023-03-05 13:23:23 +01:00
.travis.yml $ 2023-03-05 13:23:23 +01:00
index.js $ 2023-03-05 13:23:23 +01:00
LICENSE $ 2023-03-05 13:23:23 +01:00
package.json $ 2023-03-05 13:23:23 +01:00
README.md $ 2023-03-05 13:23:23 +01:00
test.js $ 2023-03-05 13:23:23 +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