monquigrid/node_modules/is-lambda
2025-07-16 23:56:37 +00:00
..
.npmignore Welcome to the AI slop. 2025-07-16 23:56:37 +00:00
.travis.yml Welcome to the AI slop. 2025-07-16 23:56:37 +00:00
index.js Welcome to the AI slop. 2025-07-16 23:56:37 +00:00
LICENSE Welcome to the AI slop. 2025-07-16 23:56:37 +00:00
package.json Welcome to the AI slop. 2025-07-16 23:56:37 +00:00
README.md Welcome to the AI slop. 2025-07-16 23:56:37 +00:00
test.js Welcome to the AI slop. 2025-07-16 23:56:37 +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