1
0

run npm install to generate a package lock

This commit is contained in:
sashinexists
2024-12-07 13:18:31 +11:00
parent e7d08a91b5
commit 23437d228e
2501 changed files with 290663 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { SiteTree } from "@weborigami/async-tree";
import assertTreeIsDefined from "../common/assertTreeIsDefined.js";
import constructSiteTree from "../common/constructSiteTree.js";
/**
* Return a website tree via HTTP.
*
* @typedef {import("@weborigami/types").AsyncTree} AsyncTree
* @typedef {import("@weborigami/async-tree").Treelike} Treelike
* @typedef {import("../../index.ts").Invocable} Invocable
*
* @this {AsyncTree|null}
* @param {string} host
* @param {...string} keys
*/
export default function httptree(host, ...keys) {
assertTreeIsDefined(this, "httptree:");
return constructSiteTree("http:", SiteTree, this, host, ...keys);
}