Skip to main content
Module

x/aleph/server/deps.ts

The Full-stack Framework in Deno.
Very Popular
Go to Latest
import * as aleph from "https://deno.land/x/aleph@1.0.0-beta.24/server/deps.ts";

Functions

Set text color to blue.

Make the text bold.

CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation

Concatenate the given arrays into a new Uint8Array.

Set text color to cyan.

The text emits only a small amount of light.

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

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".

Convert a glob string to a regular expression.

Set text color to green.

initialize the compiler wasm module.

Mitt: Tiny (~200b) functional event emitter / pubsub.

Parse the deps of the modules.

Set text color to red.

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.

Set text color to yellow.

Interfaces