lambda-webp-converter
lambda-webp-converter copied to clipboard
lambda-webp-converter
A function for AWS Lambda convert jpeg images uploaded on Amazon S3 to WebP.
How to use
- Clone it.
git clone https://github.com/ikait/lambda-webp-converter.git
- Set current directory to it, and install npms locally.
cd lambda-webp-converter
npm i -S -D
- Build. The codes based on ES6 are converted to AWS Lambda compatible ES5.
gulp build
This output ./build.zip.
- Upload
./build.zipto AWS Lambda.