Hacker News new | ask | show | jobs
by impostervt 4234 days ago
I love that it uses Node.js to start, but does it support NPM?
1 comments

Looks like yes: http://docs.aws.amazon.com/lambda/latest/dg/walkthrough-s3-e...

Now, how to deal with node packages that require libraries not on the default amazon linux ami?

From that example it looks like it doesn't support NPM directly, instead you download the dependencies locally and include the node_modules directory in the zip file you upload. Interestingly the example makes use of ImageMagick, which I don't believe is in the default AMI.