Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

is-lambda

1.0.1 • Public • Published

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

Install

npm i is-lambda

DownloadsWeekly Downloads

272,437

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar