windows-webdav
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

windows-webdav

This is a open source repository contains the methods for accessing webdav servers as network drives in windows operating system.

Usage.

Below are the methods to mount or unmount webdav servers.

mountDisk(mountDiskOptions)

This method wll let you mount the webdav as a network drive.

import { webdav } from "windows-webdav";

await webdav.mountDisk({ \
    diskName: 'e',  //diskname should be a alphabet as a-z (required) \
    webdavPath: 'webdavserver.com/user',  // path for the webdav server location (required)\
    userName: 'jhonkinch', // provide userb=name here  (optional) \
    password: 'mySecret' // provide password here (optional)

});

unMountDisk(unMountDiskOptions)

This method wll let you unmount the connected network drive.

import { webdav } from "windows-webdav";

await webdav.unMountDisk({ \
    diskName: 'e'  //diskname should be a alphabet as a-z (required) \
});

Contributing

We welcome contributions to our standard library and standard checks.

License

The code in this repository is licensed under the MIT License by GitHub.

Package Sidebar

Install

npm i windows-webdav

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

9.51 kB

Total Files

12

Last publish

Collaborators

  • ramandraju