node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey ยป

gulp-google-drive

Gulp-Google-Drive

Gulp module to load all files from a Google Drive folder and emit them in a Vinyl stream.

Usage

config = {
    clientId: '...'
    clientSecret: '...'
    refreshToken: '...'
}
drive = require('gulp-google-drive', config)
gulp.task('fetch-assets', (done)->
    drive.src('dir-id')
    .pipe(cached('assets'))
    .pipe(drive.fetch)
    .pipe(remember('assets'))
    .pipe(gulp.dest('public/'))