dwyl/learn-aws-lambda

NPM Dependencies?

Open

#46 geöffnet am 1. Feb. 2016

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (206 Forks)batch import
enhancementhelp wantedquestion

Repository-Metriken

Stars
 (1.037 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 16m) (1 gemergte PR in 30 T)

Beschreibung

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/

Contributor Guide