This is a WebDAV client.
It is not meant to be used on browsers yet.
npm install webdav-client
// or// orconst webdavClient = ;// Create the client objectconst connection = '';connection
Connection options :
ConnectionReaddirOptions interface :
ConnectionReaddirComplexResult interface :
If you want to perform a
put in streaming mode, you can call the methods without a callback (and without the content argument for the
const stream = connection;streamstream;
const stream = connection;stream;otherStream;
To do custom requests, you can use the
They take a
Web browser compatibility
This library can be used in a web browser.
You can produce the web browser library from your from with, for instance,
browserify or you can use the "browserified" file itsef (located at
Here is the usage of the
browserified.js file :
<!-- Load the library --><!-- Usage of the library -->
Keep in mind that the library uses the
request package, which might not be the most optimized package for web browsers.