# Getting Started

> Install and configure @anymux/webdav.

Source: https://anymux-docs.n.yatsyk.com/docs/webdav/getting-started

# Getting Started

## Installation

```bash
pnpm add @anymux/webdav
```

## Basic Usage

```ts
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");
```
