0.0.3 • Published 9 years ago

amazon-s3-cache v0.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

s3-cache

Enables reading files from Amazon S3 buckets with local caching

Example

var s3Cache = require('amazon-s3-cache');

s3Cache.configureAWS({
    region: 'us-west-2'
});

s3Cache.configureCacheDir('/');

s3Cache.getFile('bucket', 'key')
.on('error', function(error){
    console.log('ERROR');
    console.log(error);
})
.on('success', function(filePath){
    console.log('SUCCESS');
    console.log(filePath);
})
.on('complete', function(error, filePath){
    console.log('COMPLETE');
    console.log(error);
    console.log(filePath);
});
0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago