@filerobot/google-drive

The Google Drive plugin for Uploader() lets users import files from their Google Drive account.
A Companion instance is required for the GoogleDrive plugin to work. Companion handles authentication with Google, downloads files from the Drive and uploads them to the destination. This saves the user bandwidth, especially helpful if they are on a mobile connection.
Uploader() is being developed by the folks at Transloadit, a versatile file encoding service.
Example
const Uploader = require('@filerobot/core')
const GoogleDrive = require('@filerobot/google-drive')
const uploader = Uploader()
uploader.use(GoogleDrive, {
})
Installation
$ npm install @filerobot/google-drive --save
We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.
Alternatively, you can also use this plugin in a pre-built bundle from Transloadit's CDN: Edgly. In that case Uploader() will attach itself to the global window.Uploader object. See the main Uploader() documentation for instructions.
Documentation
Documentation for this plugin can be found on the Uploader() website.
License
The MIT License.