Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 2.06 KB

README.md

File metadata and controls

43 lines (31 loc) · 2.06 KB

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 [email protected]

License

MIT

NPM