is-lambda
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/is-lambda package

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

/is-lambda/

    Package Sidebar

    Install

    npm i is-lambda

    Weekly Downloads

    10,360,205

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • watson