Getting Started
Installation
pnpm add @anymux/webdavBasic Usage
import { WebDavFileSystem } from "@anymux/webdav";
const fs = new WebDavFileSystem({
url: "https://cloud.example.com/remote.php/dav/files/user",
username: "user",
password: "pass",
});
const entries = await fs.readDir("/");
const content = await fs.readFile("/document.txt");