百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
J

js-webdav-client

> 编程语言
开源

一个以 JavaScript 写入/ 用于 JavaScript 的低等网络DAV 客户端库

100 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个以 JavaScript 写入/ 用于 JavaScript 的低等网络DAV 客户端库

A webDAV client library

This is the repository for a general webDAV client library, written in JavaScript. The main purpose is to support the built-in client for BeeHub. However, we attempt to make it follow the webDAV RFC 4918 and any contributions that help implement features of this and other webDAV standards are welcome.

API reference can be found here: http://sara-nl.github.com/js-webdav-client/

Directory structure

  • ./COPYING.LESSER.txt contains the GNU LGPL
  • ./LICENSE.txt contains the GNU GPL
  • ./Makefile is the makefile to build the library into one single file
  • ./README.md contains this text
  • ./src/ contains all the source files for the basic library
  • ./src/plugins/ contains directories with plugins (such as the ACL plugin)

Development

If you want to develop on the library code itself, you'll want to link to the source files from within your HTML page. You should add all needed files manually to the header with the default script tag. For example:

xml

Make sure you link the source files in the same order as the Makefile will:

  • Files in ./src will be included in a sorted order first. This means:
    • ./src/000_header.js should be linked first
    • ./src/001_exception.js should be linked second
    • ./src/002_iehacks.js should be linked second
    • then the other files follow
  • Directories in ./src/plugins/ will be included in a sorted order next. Their files will also be included in a sorted order.

This way, the basic library will be linked before the plugins are loaded

Using the library in another script

To use the library from other scripts, create a single file containing the complete library:

bash
make dist.js

Copy it to your webservers public folder and rename it for convenience:

bash
cp dist.js /path_to_public_folder/webdavlib.js

Then link this file in your HTML file before your own scripts are linked.

xml

Of course you are free to rename the dist.js file any way you like and place it anywhere in your public folder. As long as you change the script tag correspondingly.

Issues· 7 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言