2.0.4 • Published 7 years ago

mead-plugin-source-gcs v2.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

mead-plugin-source-gcs

npm versionBuild StatusCoverage StatusDependency status

Google Cloud Storage source for the Mead image transformer service - loads images from a GCS bucket.

Installation

npm install --save mead-plugin-source-gcs

Usage

Your mead configuration file (mead --config <path-to-config.js>):

module.exports = {
  // Load the plugin
  plugins: [
    require('mead-plugin-source-gcs')
  ],

  // Define a source using GCS
  sources: [{
    name: 'my-gcs-source',
    adapter: {
      type: 'gcs',
      config: {
        projectId: 'some-project-123',
        pathPrefix: 'photos', // Optional
        bucket: 'my-bucket-name',

        // Either provide `keyFilename` or `credentials`
        // (`credentials` being the contents of a key file)
        keyFilename: '/path/to/gcs-key.json'
      }
    }
  }]
}

License

MIT-licensed. See LICENSE.

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.6

7 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago