WebDav plugin for Unifile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
lib
test
.bithoundrc
.editorconfig
.eslintrc
.gitignore
.npmignore
.nvmrc
.travis.yml
CHANGELOG.md
LICENSE
README.md
jsdoc.json
package-lock.json
package.json

README.md

Unifile WebDAV

This is a plugin for Unifile to use WebDAV services with it.

To include it in Unifile, you first need to install it

# Node 6+
$ npm install unifile-webdav -S

# Node 8+
$ npm install unifile-webdav

Then, you'll have to register it to unifile

const Unifile = require('unifile');
const UnifileWebDAV = require('unifile-webdav');

const unifile = new Unifile();

// Register a new connector
unifile.use(new UnifileWebDAV({redirectUri: 'http://localhost:3000/callback'}));