Skip to main content
Module

x/ter/deps.ts

A tiny wiki-style site builder with Zettelkasten flavor.
Go to Latest
import * as ter from "https://deno.land/x/ter@0.12.1/deps.ts";

Variables

Transforms css rules into a <style> tag string.

Creates an sheet which collects style rules into an array.

Functions

Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator.

Deeply merge objects.

Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted. 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.

Take a set of command line arguments, optionally with a set of options, and return an object representing the flags found in the passed arguments.

Serves HTTP requests with the given handler.

Compiles markdown to HTML asynchronously.

Create a ReadableStream<Uint8Array> from from a Deno.Reader.

Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options.