Package Exports
- lambda-event-mock
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lambda-event-mock) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
lambda-event-mock
Mocking library for AWS Lambda events
Features
- Works with Node 8.x
Installation
Install via npm.
npm install lambda-event-mock --save-devGetting Started
const lambdaEventMock = require( 'lambda-event-mock' );
let myMock = lambdaEventMock.s3()
.object( 'picture1.gif' )
.bucket( 'my-bucket-uploaded-pictures' )
.build();
// myMock contains an s3 event objectFeedback
We'd love to get feedback on how you're using lambda-event-mock and things we
could add to make this tool better. Feel free to contact us at
feedback@vandium.io