2.0.3 • Published 2 years ago

@esperecyan/webdav-client v2.0.3

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
2 years ago

@esperecyan/webdav-client

This is the WebDAV client library which is designed like File and Directory Entries API (MDN).

Example

webdav.root.getDirectory('http://localhost:52328/qynnsgspuz6cm2sui/', {}, function (directory) {
	directory.createReader().readEntries(function (entries) {
		for (const entry of entries) {
			console.log(`[${entry.isDirectory ? 'Directory' : 'File'}] ${entry.name}`);
		}
	}, console.error);
}, console.error);

Usage

<script src="webdav.js"></script>

Download

https://github.com/esperecyan/webdav-client/releases

Or

npm install @esperecyan/webdav-client

Or

bower install esperecyan-webdav-client

API list

https://esperecyan.github.io/webdav-client/index.html

Supports

  • Microsoft Edge
  • Firefox
  • Firefox ESR
  • Opera
  • Google Chrome
  • Safari

Contribution

Please Pull Request or open your Issue.

Licence

This library is licensed under the Mozilla Public License Version 2.0 (MPL-2.0).