skipper-gcloud

A skipper adapter to allow uploading files to Google Cloud Storage

Usage no npm install needed!

<script type="module">
  import skipperGcloud from 'https://cdn.skypack.dev/skipper-gcloud';
</script>

README

skipper-gcloud

A skipper adapter to allow uploading files to Google Cloud Storage

Usage

req.file('file').upload({
  adapter: require('skipper-gcloud'),
  projectId: 'project-id',
  keyFilename: '/path/to/keyfile.json',
  email: 'YOUR_GCS_EMAIL',
  scopes: ['YOUR_SCOPES'],
  bucket: 'YOUR_GCS_BUCKET',
  public: true,
}, ...);

License

MIT