Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ultra/lib/deps.ts

🧙 Hypermodern Zero-Legacy Deno/React Framework
Go to Latest
import * as ultra from "https://deno.land/x/ultra@v2.0.0-beta.13/lib/deps.ts";

Namespaces

Logging library with the support for terminal and file outputs. Also provides interfaces for building custom loggers.

Enums

Get log level numeric values through enum constants

Variables

🖍️ Crayon object that's used for styling

  • Call the last property as a function with arguments to get styled string

Functions

Make an assertion, if not true, then throw.

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

Log with critical level, using default logger.

Log with debug level, using default logger.

Log with error level, using default logger.

Get a logger instance. If not specified name, get the default logger.

Log with info level, using default logger.

Setup logger config.

Log with warning level, using default logger.

Create a ReadableStream<Uint8Array> from from a Deno.Reader.

Converts and format a variable number of args as is specified by format. sprintf returns the formatted string.