import * as oakNest from "https://deno.land/x/oak_nest@v1.15.1/example/deps.ts";
Variables
Map from status code to status text. |
Functions
Set background color to blue. | |
Set background color using 24bit rgb.
| |
Set background color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit | |
f blue | Set text color to blue. |
f bold | Make the text bold. |
Format date using format string | |
Set text color to green. | |
Checks if a given value is an array | |
Checks if a value is a boolean. | |
Checks if a given value is an enum | |
Checks if value is an integer. | |
Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId. If given value is not a string, then it returns false. | |
Checks if a value is a number. | |
Checks if value is missing and if so, ignores all validators. | |
Checks if a given value is a real string. | |
Make the text italic. | |
f Max | Checks if the first number is less than or equal to the second. |
f Min | Checks if the first number is greater than or equal to the second. |
f red | Set text color to red. |
Set text color using 24bit rgb.
| |
f rgb8 | Set text color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit |
Validates given object and reject on error. | |
Set text color to yellow. |