Skip to content

agent/s3-asset-uploader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS S3 asset uploader

for putting assets on s3

var Sync = require('s3-asset-uploader').S3sync
var config =  {
    "key": "<key>"
  , "secret": "<secret>"
  , "bucket": "<bucket-name>"
  , "cloudfront": "<cf-domain>"
}

new Sync(config, {
    path: './public'
  , prefix: '/assets'
  , ignorePath: './public/js/vendor'
  , digest: 'config/asset-map.json'
  , complete: function () {
      console.log('done')
    }
})

About

AWS S3 asset uploader utility

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%