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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@activefs/mount

v0.1.1

Published

WebDAV server and rclone mount lifecycle helpers for ActiveFS.

Readme

@activefs/mount

Install @activefs/mount when host code needs the WebDAV server or rclone mount lifecycle helpers directly. End users normally use the activefs CLI to create an OS-visible folder.

The package requires Node.js 22 or newer. Creating a real OS mount also requires rclone and a host backend such as macFUSE, FUSE, or WinFsp.

Install

npm install @activefs/mount @activefs/core

Start the WebDAV adapter

This example starts a loopback WebDAV server over a small ActiveFS tree, prints its URL, and closes it:

import { createActiveFS, fsTree, text } from "@activefs/core";
import { startWebDAVServer } from "@activefs/mount";

const tree = fsTree({
  "/hello.txt": text("hello through WebDAV\n")
});
const activefs = createActiveFS().mount("/", tree);

const server = await startWebDAVServer({
  filesystem: activefs,
  rootPath: "/"
});

try {
  console.log(server.url);
} finally {
  await server.close();
}

Output uses an available loopback port:

http://127.0.0.1:<port>/

The helper generates local WebDAV credentials by default. Those credentials protect the adapter endpoint; they are not Source API identity. The tree or source still makes final access and mutation decisions.

Clients that omit the generated credentials receive 401 Unauthorized. These HTTP Basic credentials protect only the WebDAV adapter; they do not configure upstream Source API or MCP authentication. Basic authentication does not encrypt the connection, so keep the adapter on loopback or place any non-loopback endpoint behind TLS.

The equivalent foreground CLI option accepts explicit credentials:

activefs server start repo --auth alice:local-only

That option is not enabled by default for the foreground CLI server. Because the password may appear in shell history or process listings, avoid using a long-lived secret on the command line.

Starting the WebDAV adapter does not create an OS mount. Use the CLI mounted folder workflow when rclone should attach it to a visible path.

Documentation