1.2.0 • Published 6 years ago
gulp-hiq-webdav v1.2.0
gulp-hiq-webdav
Pushes files to a remote webdav.
Install
$ npm install --save-dev gulp-hiq-webdavUsage
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