AWS Lambda Test Utilities
JSON →aws-lambda-test-utils is a JavaScript utility library designed to simplify the local testing of AWS Lambda functions. It provides helper functions to mock the `context` object and various AWS service `event` objects (e.g., S3, SNS, DynamoDB, API Gateway) that a Lambda function typically receives. This allows developers to run their Lambda logic outside of the AWS environment for faster, automated testing. The current stable version is 1.3.0. As of the provided information, it primarily supports CommonJS imports, and its release cadence appears to be infrequent, given the version number and the project's age (last commit several years ago). Its key differentiator is its focus on providing simple, predefined mocks for common AWS event types, reducing the boilerplate needed for basic Lambda unit tests, particularly for projects still relying on older callback-style Lambda handlers.
Traffic · last 30 days ↑57% vs prev 7d
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France