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'}));