Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 420 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 420 Bytes

lambdaQueueUtils

This is a set of utils to help handle events in lambda functions

Installation:

npm install @buyerneeds/lambda-utils --save

Usage:

Kinesis

const {KinesisHandler} = require('@buyerneeds/lambda-utils');

const eventHandlers = {
  someType: (record) => {
    console.log('Handling the record!');
  }
};


exports.handler = KinesisHandler.getHandler(eventHandlers);