// package
is-lambda
type: "module"
// preferences
// replacements (1)
snippet::is-aws-lambda
Simple or drop-in replacementThis package is no longer necessary. You can check if the current environment is an AWS Lambda by checking if the `LAMBDA_TASK_ROOT` environment variables are set.
// example
Boolean(process.env.LAMBDA_TASK_ROOT);