H5-ThreeDoorder/node_modules/is-lambda
whitechiina 361f444663 updata 2025-03-28 14:06:25 +08:00
..
.npmignore updata 2025-03-28 14:06:25 +08:00
.travis.yml updata 2025-03-28 14:06:25 +08:00
LICENSE updata 2025-03-28 14:06:25 +08:00
README.md updata 2025-03-28 14:06:25 +08:00
index.js updata 2025-03-28 14:06:25 +08:00
package.json updata 2025-03-28 14:06:25 +08:00
test.js updata 2025-03-28 14:06:25 +08: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