Socket
Socket
Sign inDemoInstall

is-lambda

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

is-lambda

Detect if your code is running on an AWS Lambda server

    1.0.1latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
9,407,904
increased by3.07%

Weekly downloads

Readme

Source

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

Keywords

FAQs

Last updated on 24 May 2017

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc