test/node_modules/is-lambda
Adrian Stephens 36997389b7 initial commit 2026-04-02 08:00:47 +01:00
..
.npmignore initial commit 2026-04-02 08:00:47 +01:00
.travis.yml initial commit 2026-04-02 08:00:47 +01:00
LICENSE initial commit 2026-04-02 08:00:47 +01:00
README.md initial commit 2026-04-02 08:00:47 +01:00
index.js initial commit 2026-04-02 08:00:47 +01:00
package.json initial commit 2026-04-02 08:00:47 +01:00
test.js initial commit 2026-04-02 08:00:47 +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