is-lambda-env

1.0.2 • Public • Published

islambda

is-lambda-env helps you to detect is your code runs on AWS Lambda/Azure Cloud functions/Google Cloud functions

Supports:

  • AWS Lambda
  • Azure Cloud functions
  • Google Cloud functions

Installation

npm install is-lambda-env

Usage

const isLambda = require('is-lambda-env');

if (isLambda()) {
    console.log("I am on lambda");
}

Package Sidebar

Install

npm i is-lambda-env

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

9.4 kB

Total Files

6

Last publish

Collaborators

  • r11baka