is-lambda
Advanced tools
Weekly downloads
Readme
Returns true
if the current environment is an AWS
Lambda server.
npm install is-lambda
var isLambda = require('is-lambda')
if (isLambda) {
console.log('The code is running on a AWS Lambda')
}
MIT
FAQs
Detect if your code is running on an AWS Lambda server
The npm package is-lambda receives a total of 8,849,838 weekly downloads. As such, is-lambda popularity was classified as popular.
We found that is-lambda demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.