npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

webdav.client

v5.21.5976

Published

WebDAV ajax library for opening documents from a web page and managing WebDAV servers.

Downloads

1,603

Readme

IT Hit WebDAV AJAX Library

Product Website | Demo Server

Cross-browser JavaScript library for opening documents from a web page and managing WebDAV servers.

API for Opening Docs from a Web Page

Using WebDAV Ajax Library you can open documents from a web page and save back directly to server without download/upload steps. The library opens any document with associated application in Chrome, FireFox, Safari, Edge and IE on Windows, Mac OS X and Linux.

<script src="ITHitWebDAVClient.js"></script>

<script type="text/javascript">
   
    // Get your license ID here: https://www.webdavsystem.com/ajax/download/
    ITHit.WebDAV.Client.LicenseId = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX';

    function edit() {
        ITHit.WebDAV.Client.DocManager.EditDocument(
		    "https://server/folder/file.docx", "/");
    }
</script>

<input type="button" value="Edit Document" onclick="edit()" />

more...

Opening Document from a Website with Cookies Authentication

The library can open documents from a WebDAV server with cookies authentication:

function edit() {
    ITHit.WebDAV.Client.DocManager.DavProtocolEditDocument(
        'https://server/folder/file.ext', // Document URL(s)
        'https://server/',                // Mount URL
        protocolInstallMessage,           // Function to call if protocol app is not installed
        null,                             // Reserved
        'Current',                        // Which browser to copy cookies from: 'Current', 'All', 'None'
        '.AspNet.ApplicationCookie',      // Cookie(s) to copy. Must be persistent.
        '/Account/Login',                 // URL to navigate to if any cookie from the list is not found.
        'Edit'                            // Command to execute: 'Edit', 'OpenWith', 'Print'
    );
}
     
function protocolInstallMessage(message) {
    var installerFilePath = "/Plugins/" + ITHit.WebDAV.Client.DocManager.GetInstallFileName();
 
    if (confirm("Opening this type of file requires a protocol installation. Select OK to download the protocol installer.")){
        window.open(installerFilePath);
    }
}

more...

Using Ajax API for Managing WebDAV Server

The library provides a high-level JavaScript API for managing WebDAV server content and building Ajax file managers.

See how to list files on a WebDAV server, copy, move and delete items, read and set custom properties, lock items and discover locks.

more...

Programming WebDAV Search Capabilities

This article describes how to detect DASL search support, submit search queries, specify which properties to search and request custom properties to be returned in search results, such as snippet of text around search phrase.

more...

Re-branding and Building from Source Codes

The Source Codes License is provided with complete Protocol Applications source codes. You can fully re-brand, localize and customize the protocol applications for Windows, OS X and Linux. The source codes are provided with build scripts that you can use to compile and build installers for each OS "in one click".

more...

Opening OS File Manager from a Web Page

See how to jump from a web page to managing files using familiar desktop interface.

The custom protocol provided with Ajax Library can mount WebDAV server to local file system and start OS File Manager on Windows, Mac OS X and Linux.

more...

Managing Locks on Your WebDAV Server

Locks protect the document while being edited from concurrent modifications. Locks support on your WebDAV server is vital for Microsoft Office editing.

While in most cases your WebDAV client, including Microsoft Office, will manage locks automatically you may need to discover locks support, enumerate locks and unlock a file if needed.

more...

License

License Agreement