mead-plugin-source-s3
S3 source for the Mead image transformer service - loads images from an S3 bucket.
Installation
npm install --save mead-plugin-source-s3
Usage
Your mead configuration file (mead --config <path-to-config.js>
):
moduleexports = // Load the plugin plugins: // Define a source using S3 sources: name: 'my-s3-source' adapter: type: 's3' config: pathPrefix: 'photos' // Optional bucket: 'my-bucket-name' // Either provide `configFile` or both `accessKeyId` and `secretAccessKey` configFile: '/path/to/s3-key.json'
License
MIT-licensed. See LICENSE.