Skip to content

Instantly share code, notes, and snippets.

View dbramwell's full-sized avatar

David Bramler dbramwell

View GitHub Profile
const AWS = require('aws-sdk');
const s3 = new AWS.S3();
s3.listBuckets().promise()
.then((res) => {
console.log(res);
})
.catch((err) => {
console.error(err);
});