包详细信息

suf-node

TheRealSyler325MIT1.3.3

node utility functions.

自述文件

SUF Node

consoleUtils

readConsole
function readConsole(): Promise<string>;
getYNAnswer
function getYNAnswer(defaultAnswer?: boolean): Promise<boolean>;

execUtils

ExecOptions
interface ExecOptions {
    linkStdout?: boolean;
}
ExecOut
interface ExecOut {
    stdout: string;
    stderr: string;
}
Exec
function Exec(command: string, options?: ExecOptions): Promise<ExecOut>;

fsUtils

Walk
/**
 * Returns an array with all the file names in the given directory
 */
function Walk(dir: string): Promise<string[]>;
Exits
function Exits(path: string): Promise<boolean>;

Generated with suf-cli

Copyright (c) 2020 Leonard Grosoli Licensed under the MIT license.