Module

x/ultra/src/deps.ts

💎 Modern Streaming React Framework in Deno
Go to Latest
import * as mod from "https://dotland.deno.dev/x/ultra@v1.0.1/src/deps.ts";

Classes

A variable-sized buffer of bytes with read() and write() methods.

LRU main class

Variables

An wrapper for WebCrypto adding support for additional non-standard algorithms, but delegating to the runtime WebCrypto implementation whenever possible.

Functions

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Concatenate the given arrays into a new Uint8Array.

Creates a cache object that allows access to the internal DENO_DIR cache structure for remote dependencies and cached output of emitted modules.

Create a module graph using the same algorithms that are used in the Deno CLI, resolving with the module graph for further processing.

Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted. Requires the --allow-read and --allow-write flag.

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.

If module_or_path is {RequestInfo} or {URL}, makes a request and for everything else, calls WebAssembly.instantiate directly.

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

Serves HTTP requests with the given handler.

Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options. The files are walked in lexical order, which makes the output deterministic but means that for very large directories walk() can be inefficient.

Interfaces

  • export { foo } from 'mod'
  • export { foo as bar } from 'mod'