import * as mod from "https://dotland.deno.dev/x/fresh@1.6.8/src/server/deps.ts";
Namespaces
String formatters and utilities for dealing with ANSI color codes. | |
{@link |
Variables
Contains the |
Functions
Make an assertion that | |
Make an assertion that | |
Executes a function, expecting it to throw. If it does not, then it throws. | |
Return the last portion of a | |
Set background color to black. | |
Set background color to blue. | |
Set background color to bright black. | |
Set background color to bright blue. | |
Set background color to bright cyan. | |
Set background color to bright green. | |
Set background color to bright magenta. | |
Set background color to bright red. | |
Set background color to bright white. | |
Set background color to bright yellow. | |
Set background color to cyan. | |
Set background color to green. | |
Set background color to magenta. | |
Set background color to red. | |
Set background color using 24bit rgb.
| |
Set background color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit | |
Set background color to white. | |
Set background color to yellow. | |
Set text color to black. | |
Set text color to blue. | |
Make the text bold. | |
Set text color to bright black. | |
Set text color to bright blue. | |
Set text color to bright cyan. | |
Set text color to bright green. | |
Set text color to bright magenta. | |
Set text color to bright red. | |
Set text color to bright white. | |
Set text color to bright yellow. | |
Set text color to cyan. | |
The text emits only a small amount of light. | |
Get whether text color change is enabled or disabled. | |
Set text color to gray. | |
Set text color to green. | |
Make the text hidden. | |
Invert background color and text color. | |
Make the text italic. | |
Set text color to magenta. | |
Set text color to red. | |
Reset the text modified. | |
Set text color using 24bit rgb.
| |
Set text color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit | |
Set changing text color to enabled or disabled | |
Put horizontal line through the center of the text. | |
Remove ANSI escape codes from the string. | |
Remove ANSI escape codes from the string. | |
Make the text underline. | |
Set text color to white. | |
Set text color to yellow. | |
Given an extension or media type, return a full | |
Return the directory path of a | |
Converts data into a hex-encoded string. | |
Escapes arbitrary text for interpolation into a regexp, such that it will match exactly that text and nothing else. | |
Return the extension of the | |
Converts a file URL to a path string. | |
Verifies whether provided path is absolute | |
f join | Join all given a sequence of |
Converts a JSON with Comments (JSONC) string into an object.
If a syntax error is found, throw a {@link | |
Normalize the | |
Serves HTTP requests with the given handler. | |
Converts a path string to a file URL. | |
f walk | Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options. |
Interfaces
RGB 8-bits per channel. Each in range | |
Options for {@link |
Type Aliases
The type of the result of parsing JSON. | |
A handler for HTTP requests. Consumes a request and connection information and returns a response. |