Module

x/ultra/lib/build/deps.ts

Zero-Legacy Deno/React Suspense SSR Framework
Latest
import * as mod from "https://dotland.deno.dev/x/ultra@v2.3.8/lib/build/deps.ts";

Classes

A FileBag holds and manages implementations of IFile

Variables

🖍️ Crayon object that's used for styling

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

Functions

Set text color to bright blue.

Copy a file or directory. The directory can have contents. Like cp -r. Requires the --allow-read and --allow-write flag.

Merges the two given Records, recursively merging any nested Records with the second collection overriding the first in case of conflict

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.

Convert a glob string to a regular expression.

Set text color to green.

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

Make the text underline.

Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options.