import * as mod from "https://dotland.deno.dev/x/jsx_framework@v0.0.4/deps.js";

Functions

Make the text bold.

Copy a file or directory. The directory can have contents. Like cp -r. Requires the --allow-read and --allow-write flag.

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

Set text color to green.

Set text color to red.

Serves HTTP requests with the given handler.

Returns an HTTP Response with the requested file as the body.

Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options. The files are walked in lexical order, which makes the output deterministic but means that for very large directories walk() can be inefficient.