suf-node
v1.3.3
Published
node utility functions.
Downloads
325
Readme
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.