import * as dtils from "https://deno.land/x/dtils@1.8.0/deps.ts";
Namespaces
String formatters and utilities for dealing with ANSI color codes. | |
Utilities for working with OS-specific file paths. |
Functions
Make an assertion, error will be thrown if | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that actual is not null or undefined. If not then throw. | |
Make an assertion, error will be thrown if | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Executes a function which returns a promise, expecting it to reject. | |
Make an assertion that | |
Make an assertion that actual includes expected. If not then throw. | |
Executes a function, expecting it to throw. If it does not, then it throws. | |
Deep equality comparison used in assertions | |
Forcefully throws a failed assertion | |
Use this to stub out methods that will throw when invoked. | |
Use this to assert unreachable code. | |
Decodes a given RFC4648 base64 encoded string | |
CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation | |
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. | |
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 |
Interfaces
A parsed path object generated by path.parse() or consumed by path.format(). |