gulp-google-drive

1.4.2 • Public • Published

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/'))

Readme

Keywords

Package Sidebar

Install

npm i gulp-google-drive

Weekly Downloads

1

Version

1.4.2

License

MIT

Last publish

Collaborators

  • jjclark1982