UNPKG

jsdav-ext

Version:

jsDAV allows you to easily add WebDAV support to a NodeJS application. jsDAV is meant to cover the entire standard, and attempts to allow integration using an easy to understand API.

18 lines (15 loc) 555 B
/* * @package jsDAV * @subpackage DAV * @copyright Copyright(c) 2011 Ajax.org B.V. <info AT ajax.org> * @author Mike de Boer <info AT mikedeboer DOT nl> * @license http://github.com/mikedeboer/jsDAV/blob/master/LICENSE MIT License */ "use strict"; var jsDAV = require("./../lib/jsdav"); jsDAV.debugMode = true; var jsDAV_Locks_Backend_FS = require("./../lib/DAV/plugins/locks/fs"); jsDAV.createServer({ node: __dirname + "/../test/assets", locksBackend: jsDAV_Locks_Backend_FS.new(__dirname + "/../test/assets") }, 8000);