import * as mod from "https://dotland.deno.dev/x/aleph@v0.2.28/std.ts";
Functions
Concatenate two binary arrays and return new one. | |
Check source array contains pattern array. | |
Copy bytes from one Uint8Array to another. Bytes from | |
Check whether binary arrays are equal to each other. | |
Find first index of binary pattern from a. If not found, then return -1 | |
Find last index of binary pattern from a. If not found, then return -1. | |
Check whether binary array starts with prefix. | |
Check whether binary array ends with suffix. | |
Repeat bytes. returns a new byte slice consisting of | |
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. | |
Make the text underline. | |
Set text color to white. | |
Set text color to yellow. | |
Ensures that the directory exists.
If the directory structure does not exist, it is created. Like mkdir -p.
Requires the | |
Create a | |
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. | |