I would like to use Pubnub in an AWS Lambda funktion. This works with Node.js 10.x and ask-sdk-V2. What is the best way in order to integrate Pubnub into that environment? I already mixed ask-sdk-V2 and Pubnub-sdk together and it seems it works. But the node_modules are to big for interactive programming. Is there a template or example available?
Many thanks for any hint.