gulp-google-drive
v1.4.2
Published
Gulp module to load files from Google Drive
Downloads
33
Readme
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/'))