dwyl/learn-aws-lambda

NPM Dependencies?

オープン

#46 opened on 2016/02/01

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (206 件のフォーク)batch import
enhancementhelp wantedquestion

Repository metrics

Stars
 (1,037 個のスター)
PR merge metrics
 (平均マージ 16m) (30d で 1 merged 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/

コントリビューターガイド