skipper-gclouds

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i skipper-gclouds

Weekly Downloads

6

Version

1.0.2

License

MIT

Unpacked Size

11.8 kB

Total Files

7

Last publish

Collaborators

  • malpercio