Skip to main content
Module

x/ndeno/src/deps.ts

Command line tool created by deno to manage node projects | deno 实现的 node 项目包管理命令工具
Go to Latest
import * as ndeno from "https://deno.land/x/ndeno@v1.4.2/src/deps.ts";

Classes

Enum type. Allows only provided values.

Functions

Set text color to bright green.

Set text color to bright yellow.

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:

Set text color to gray.

Set text color to red.

Finds the path to the specified command asynchronously.

Set text color to yellow.