dok/node_modules/is-lambda
2026-03-11 14:15:42 +00:00
..
.npmignore Start mit DOK 2026-03-11 14:15:42 +00:00
.travis.yml Start mit DOK 2026-03-11 14:15:42 +00:00
index.js Start mit DOK 2026-03-11 14:15:42 +00:00
LICENSE Start mit DOK 2026-03-11 14:15:42 +00:00
package.json Start mit DOK 2026-03-11 14:15:42 +00:00
README.md Start mit DOK 2026-03-11 14:15:42 +00:00
test.js Start mit DOK 2026-03-11 14:15:42 +00: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