Skip to content

A skipper adapter to allow uploading files to Google Cloud Storage

License

Notifications You must be signed in to change notification settings

stephanvermeire/skipper-gclouds

 
 

Repository files navigation

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

About

A skipper adapter to allow uploading files to Google Cloud Storage

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%