import * as aleph from "https://deno.land/x/aleph@1.0.0-beta.42/server/deps.ts";
Namespaces
String formatters and utilities for dealing with ANSI color codes. | |
| |
N path | Utilities for working with OS-specific file paths. |
Functions
f btoa | 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. | |
Concatenate the given arrays into a new Uint8Array. | |
Ensures that the directory exists.
If the directory structure does not exist, it is created. Like mkdir -p.
Requires the | |
Pretty-prints an analysis of the metafile JSON to a string. This is just for convenience to be able to match esbuild's pretty-printing exactly. If you want to customize it, you can just inspect the data in the metafile yourself. | |
A synchronous version of "analyzeMetafile". | |
This function invokes the "esbuild" command-line tool for you. It returns a promise that either resolves with a "BuildResult" object or rejects with a "BuildFailure" object. | |
A synchronous version of "build". | |
This is the advanced long-running form of "build" that supports additional features such as watch mode and a local development server. | |
Converts log messages to formatted message strings suitable for printing in the terminal. This allows you to reuse the built-in behavior of esbuild's log message formatter. This is a batch-oriented API for efficiency. | |
A synchronous version of "formatMessages". | |
This configures the browser-based version of esbuild. It is necessary to call this first and wait for the returned promise to be resolved before making other API calls when using esbuild in the browser. | |
A synchronous version of "transform". | |
If | |
initialize the compiler wasm module. | |
Converts a JSON with Comments (JSONC) string into an object. If a syntax error is found, throw a SyntaxError. | |
f mitt | Mitt: Tiny (~200b) functional event emitter / pubsub. |
Parse the deps of the modules. | |
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 | |
Serves HTTP requests with the given handler. | |
Serves HTTPS requests with the given handler. | |
Transforms the JSX/TS module into a JS module. | |
Compiles a CSS file, including optionally minifying and lowering syntax to the given targets. A source map may also be generated, but this is not enabled by default. |
Interfaces
Documentation: https://esbuild.github.io/api/#metafile | |
Documentation: https://esbuild.github.io/plugins/#on-load-arguments | |
Documentation: https://esbuild.github.io/plugins/#on-load-options | |
Documentation: https://esbuild.github.io/plugins/#on-load-results | |
Documentation: https://esbuild.github.io/plugins/#on-resolve-arguments | |
Documentation: https://esbuild.github.io/plugins/#on-resolve-options | |
Documentation: https://esbuild.github.io/plugins/#on-resolve-results | |
Documentation: https://esbuild.github.io/plugins/#resolve-options | |
Documentation: https://esbuild.github.io/plugins/#resolve-results | |
Documentation: https://esbuild.github.io/api/#serve-arguments | |
Documentation: https://esbuild.github.io/api/#serve-return-values | |
A parsed path object generated by path.parse() or consumed by path.format(). | |
Type Aliases
Valid types as a result of JSON parsing | |