{"library":"is-lambda","type":"library","category":null,"description":"is-lambda is a lightweight utility package designed to detect whether the current JavaScript execution environment is an AWS Lambda server. It achieves this by inspecting well-known AWS Lambda-specific environment variables such as `AWS_LAMBDA_FUNCTION_NAME`, `AWS_REGION`, and `LAMBDA_TASK_ROOT`. The current stable version is 1.0.1. Due to its focused and simple nature, its release cadence is typically very slow, with updates primarily occurring if AWS Lambda's environment signature changes or critical bug fixes are required. Its key differentiator is its minimalism, providing a single boolean value without additional overhead or complex configuration, making it suitable for quick environmental checks in serverless applications or conditional logic based on the deployment environment.","language":"javascript","status":"maintenance","version":"1.0.1","tags":["javascript","aws","hosting","hosted","lambda","detect"],"last_verified":"Wed May 27","install":[{"cmd":"npm install is-lambda","imports":["const isLambda = require('is-lambda');","import isLambda from 'is-lambda';"]},{"cmd":"yarn add is-lambda","imports":[]},{"cmd":"pnpm add is-lambda","imports":[]}],"homepage":null,"github":"https://github.com/watson/is-lambda","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/is-lambda","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/is-lambda/compatibility"}}