limepot-xyz/mybulma/node_modules/is-lambda
2023-01-27 19:21:00 -07:00
..
.npmignore Beta Primary 2023-01-27 19:21:00 -07:00
.travis.yml Beta Primary 2023-01-27 19:21:00 -07:00
index.js Beta Primary 2023-01-27 19:21:00 -07:00
LICENSE Beta Primary 2023-01-27 19:21:00 -07:00
package.json Beta Primary 2023-01-27 19:21:00 -07:00
README.md Beta Primary 2023-01-27 19:21:00 -07:00
test.js Beta Primary 2023-01-27 19:21:00 -07: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