Skip to main content
Module

x/cliffy/prompt/deps.ts

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
import * as cliffy from "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/deps.ts";

Functions

Make the text bold.

Set text color to bright blue.

The text emits only a small amount of light.

Return the directory path of a path.

Set text color to green.

Make the text italic.

Join all given a sequence of paths,then normalizes the resulting path.

Calculates the Levenshtein distance between two strings.

Normalize the path, resolving '..' and '.' segments. Note that resolving these segments does not necessarily mean that all will be eliminated. A '..' at the top-level will be preserved, and an empty path is canonically '.'.

Set text color to red.

Remove ANSI escape codes from the string.

Make the text underline.

Set text color to yellow.

Interfaces

An abstract interface which when implemented provides an interface to read bytes into an array buffer asynchronously.

An abstract interface which when implemented provides an interface to read bytes into an array buffer synchronously.

An abstract interface which when implemented provides an interface to write bytes from an array buffer to a file/resource asynchronously.

An abstract interface which when implemented provides an interface to write bytes from an array buffer to a file/resource synchronously.