gulp-hiq-webdav
v1.2.0
Published
Pushes files to a remote webdav.
Downloads
4
Readme
gulp-hiq-webdav
Pushes files to a remote webdav.
Install
$ npm install --save-dev gulp-hiq-webdav
Usage
const gulp = require('gulp');
const webdav = require('gulp-hiq-webdav');
gulp.task('default', () => {
gulp.src('src/**')
.pipe(webdav({
webdav: {
baseurl: string,
username: string,
password: string
},
local_base?: string,
remote_base?: string
}).push)
})
API
webdav()
returns an interface with two streams
push
, pushes the stream to remote
unlink
, deletes the stream in remote
WebdavGulpArgs
local_base
, base local folder to be omited before pushing to remote
remote_base
, base remote folder to be appended before pushing to remote
webdav
baseurl
, a url to the remote webdav
username
, a username to the remote webdav
password
, a password to the remote webdav