Description
tsdav is a TypeScript and JavaScript client library for WebDAV, CalDAV and CardDAV. It is a lightweight, RFC-compliant client with no Node-only dependencies, so it runs in Node.js, browsers, Cloudflare Workers, Bun and Deno. You install it with pnpm, npm, yarn, bun or deno, then create a DAV client in a few lines. The CalDAV guide covers discovering calendars, querying events by time range, handling recurring events and managing attendees. The CardDAV guide covers connecting to address books, retrieving and parsing vCards and making atomic contact updates. Authentication options include Basic and OAuth. The docs also include a sync guide for bi-directional sync with CTags and delta tokens, setup notes and quirk workarounds for iCloud, Google Calendar, Fastmail, Nextcloud and Zoho, and an interactive converter that inspects WebDAV XML requests and responses. The source is on GitHub, and the site announces the v2.5.0 release.…
Highlights
- WebDAV, CalDAV and CardDAV in one library
- Runs in Node.js, browsers, Cloudflare Workers, Bun and Deno
- No Node-only dependencies
- Basic and OAuth authentication
- Setup notes for iCloud, Google Calendar, Fastmail and Nextcloud
Ratings & Reviews
No ratings yet
Be the first to rate tsdav.
People also visit
Notion Caldav Sync
Self-hosted two-way Notion and CalDAV sync on Cloudflare Workers + D1 or…
tsdav FAQ
What is tsdav for?
Talking to WebDAV, CalDAV and CardDAV servers from TypeScript or JavaScript.
Where can it run?
Node.js, browsers, Cloudflare Workers, Bun and Deno.
Which calendar services are covered?
The docs include setup instructions and quirk workarounds for Apple iCloud, Google Calendar, Fastmail, Nextcloud and Zoho.
How do I install it?
With pnpm, npm, yarn, bun or deno. For example, npm install tsdav.
What are the best tsdav alternatives?
Popular alternatives to tsdav include Agendav, Calino and Xandikos. See all tsdav alternatives


