1.0.2 • Published 6 years ago

skipper-gclouds v1.0.2

Weekly downloads
37
License
MIT
Repository
github
Last release
6 years ago

forthebadge

Stories in Progress Codacy Badge bitHound Code bitHound Dependencies dependencies Status DevDependencies npm version GitHub license

skipper-gclouds

A skipper adapter to allow uploading files to Google Cloud Storage

Usage

req.file('avatar').upload({
  // ...any other options here...
  adapter: require('skipper-gclouds'),
  projectId: 'YOUR_PROJECTID',
  keyFilename: 'YOUR_KEYFILENAME_PATH',
  email: 'YOUR_GCS_EMAIL',
  scopes: ['YOUR_SCOPES'],
  bucket: 'YOUR_GCS_BUCKET',
  //Are files uplodaded public?
  public: true,
}, ...);

Special Thanks

Forked from skipper-gcs by Ian Wu onlinemad@gmail.com

License

MIT

NPM