title: Building a node module for aws lambda
body: <p>I'm trying to use the Sharp library in AWS Lambda but it requires the module be compiled for the lambda environment.  The instructions say to create an ec2 instance and compile it on there - but I noticed that there are a few tools to help with that but they are all at least a year old with no maintenance.  Is there a package that comes with Serverless, or something that's considered the standard way now?</p>
  
  <p>I've found these but they are all at least a year old since a commit</p>
  
  <p><a href="https://github.com/node-hocus-pocus/thaumaturgy" rel="nofollow noreferrer">https://github.com/node-hocus-pocus/thaumaturgy</a></p>
  
  <p><a href="https://github.com/Max-Kolodezniy/aws-lambda-build" rel="nofollow noreferrer">https://github.com/Max-Kolodezniy/aws-lambda-build</a></p>
  
  <p><a href="https://github.com/tomdale/lambda-packager" rel="nofollow noreferrer">https://github.com/tomdale/lambda-packager</a></p>
  
  <p>Maybe there is a directory somewhere where I can just download a precompiled Sharp library for AWS lambda?</p>