This is a set of utils to help handle events in lambda functions
npm install @buyerneeds/lambda-utils --save
const {KinesisHandler} = require('@buyerneeds/lambda-utils');
const eventHandlers = {
someType: (record) => {
console.log('Handling the record!');
}
};
exports.handler = KinesisHandler.getHandler(eventHandlers);