dwyl/learn-aws-lambda

NPM Dependencies?

开放

#46 创建于 2016年2月1日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (206 个派生)batch import
enhancementhelp wantedquestion

仓库指标

星标
 (1,037 个星标)
PR 合并指标
 (平均合并 16分钟) (30 天内合并 1 个 PR)

描述

What if we want to use an NPM module in our Lambda Function, how is this done? A simple example could be to require request and make an http request to an open API and log the response...? or we could go even simpler and require a simple module like https://github.com/dwyl/aguid and console.log the resulting uuid.

see: https://aws.amazon.com/blogs/compute/nodejs-packages-in-lambda/

贡献者指南