3.0.0 • Published 6 years ago

@ryanburnette/s3-sync v3.0.0

Weekly downloads
8
License
ISC
Repository
github
Last release
6 years ago

s3-sync

repo npm

Sync a directory with AWS S3.

Usage

require('dotenv').config({});
var AWS = require('aws-sdk');
var sync = require('@ryanburnette/s3-sync');

sync({
  cwd: 'assets.dist/',
  path: './',
  s3: new AWS.S3(),
  remotePathPrefix: '2.0.0',
  uploadOpts: {
    Bucket: process.env.BUCKET
  }
}).then(function(results) {
  console.log('RESULTS', results);
});
3.0.0

6 years ago

2.0.0

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago