Supported environments and versions
masterThe webdav library is a TypeScript-based client for NodeJS and the browser.
Version 5 (Current)
Version 5 uses ESM (ECMAScript Modules). To use it, your environment must be one of the following:
- A NodeJS project with
"type": "module"inpackage.json. - A web project bundled with a tool that handles ESM (e.g., Webpack).
- A React-Native project.
NodeJS Support (v5): Node 14+ is supported, though Node 18+ is recommended for active testing.
Browser Support
Version 5 provides an ESM-enabled bundle. Unlike version 4, you no longer need a specific web entry point; both webdav and webdav/web work in supported bundlers.
Warning: Streams (createReadStream and createWriteStream) are not available in the browser and will throw an exception if called.