import * as mod from "https://dotland.deno.dev/x/aleph@v0.2.24/std.ts";
Functions
Set background color using 24bit rgb.
| |
Set background color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit | |
Set text color using 24bit rgb.
| |
Set text color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit | |
Ensures that the directory exists.
If the directory structure does not exist, it is created. Like mkdir -p.
Requires the | |
Start an HTTP server with given options and request handler | |
Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator. | |
Convert a glob string to a regular expression. | |
Test whether the given string is a glob | |
Like join(), but doesn't collapse "**/.." when | |
Like normalize(), but doesn't collapse "**/.." when | |
Create a HTTP server | |
f walk | 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. |
Return whether given headers is acceptable for websocket | |
Upgrade given TCP connection into websocket connection | |
Create sec-websocket-accept header value with given nonce | |
Create WebSocket-Sec-Key. Base64 encoded 16 bytes string | |
Read websocket frame from given BufReader | |
Unmask masked websocket payload | |
Write websocket frame to given writer |
Interfaces
A parsed path object generated by path.parse() or consumed by path.format(). | |
Interface of HTTP server response. If body is a Reader, response would be chunked. If body is a string, it would be UTF-8 encoded by default. | |