Skip to content

Instantly share code, notes, and snippets.

View staticfrost's full-sized avatar
💭
Slowly learning

Scott staticfrost

💭
Slowly learning
  • Brisbane, Australia
View GitHub Profile
@jice-lavocat
jice-lavocat / imageSyncing.js
Last active May 6, 2022 05:18
AWS Lambda - S3 : Thumbnail creation
// dependencies
var async = require('async');
var path = require('path');
var AWS = require('aws-sdk');
var gm = require('gm').subClass({
imageMagick: true
});
var util = require('util');
// get reference to S3 client
var s3 = new AWS.S3();