Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ndeno/src/deps.ts

js runtime project management tool / js runtime 项目管理工具
Go to Latest
import * as ndeno from "https://deno.land/x/ndeno@v2.0.4/src/deps.ts";

Classes

Chainable command factory class.

Enum type. Allows only provided values.

Functions

Set text color to bright green.

Set text color to bright yellow.

find all paths up

Safe execution of sub-processes Automatically kill child processes when the master process exits requires the --allow-run and --allow-env flag.

The text emits only a small amount of light.

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 file exists. If the file that is requested to be created is in directories that do not exist. these directories are created. If the file already exists, it is NOTMODIFIED. Requires the --allow-read and --allow-write flag.

Test whether or not the given path exists by checking with the file system. Please consider to check if the path is readable and either a file or a directory by providing additional options:

Expand the glob string from the specified root directory and yield each result as a WalkEntry object.

Set text color to gray.

Verifies whether provided path is absolute

Test whether the given string is a glob

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

Convert a string to param case.

Parses content as single YAML document.

Set text color to red.

Return the relative path from from to to based on current working directory.

Resolves path segments into a path

normalizing windows path to Support all platforms

Set text color to yellow.