ExperimentalFunction ExperimentalmergeAn alias for this package's mergeArgs().
Inputs can be undefined, and if so, the default is returned.
Default object type.
Default values (if not specified in inputs).
Optionalinputs: undefinedOverriding values (changes to make).
Optionalrecursive: booleanOptional. Whether to merge the object recursively. Default false.
OptionalmergeArrays: booleanResulting object with all the defaults and inputs keys with
either default values or input values, as appropriate.
Passing recursive as false means that the input type must be a Partial
(not RecursivePartial).
Optionalrecursive: falseOptionalmergeArrays: booleanPassing recursive as true means that the input type may actually be a
RecursivePartial.
OptionalmergeArrays: booleanUniversal overload.
Optionalinputs: IOptionalrecursive: booleanOptionalmergeArrays: booleanReadonly ExperimentalmsgA local instance of MessageMaker initialized using
{@link NodeConsole.Args}.msgMaker.
ExperimentalExperimentalGets the maxWidth from NodeConsole.args, or default (120) if
none is set.
ExperimentalAlias for NodeConsole.log with via: "debug" argument.
ExperimentalAlias for NodeConsole.logs with via: "debug" argument.
ExperimentalAlias for NodeConsole.separator.
ExperimentalAlias for NodeConsole.log with via: "warn" argument.
ExperimentalAlias for NodeConsole.logs with via: "warn" argument.
ExperimentalBuild a complete args object.
Optionalargs: RecursivePartial<node.NodeConsole.Args>ExperimentalOverrides the default function to return a string representation of this object.
ExperimentalOutputs the given message to the console.
MessageMaker.msg Used to format the message.
ExperimentalOutputs the given message to the console.
MessageMaker.msg Used to format the message.
ExperimentalOutputs the given message to the console prefixed with a timestamp.
Message to display. If it's an array, the strings are joined with '\n'.
Optional. Overrides for default message arguments. Used for the whole message.
Optional. Overrides for default message arguments. Used only for the timestamp.
MessageMaker.timestampMsg Used to format the message.
ExperimentalOutputs the given message to the console prefixed with a timestamp.
ExperimentalOutputs an inspection of the given variable to the console.
ExperimentalOutputs a level-one heading string to the console.
Alias for MessageMaker.heading.
ExperimentalOutputs a level-two heading string to the console.
Alias for MessageMaker.heading.
ExperimentalOutputs a level-three heading string to the console.
Alias for MessageMaker.heading.
ExperimentalOutputs a heading string to the console.
MessageMaker.msg Used to format the message.
ExperimentalOutputs a separator string to the console.
MessageMaker.msg Used to format the message.
StaticsampleExperimentalPrints sample output to the console via NodeConsole.log().
An example, constructed instance used for the sample.
StaticsampleExperimentalSamples the interactive methods.
Optionalnc: node.NodeConsoleExperimentalRuns given string as a terminal command, optional with arguments.
Command to run in the terminal.
Optional. Passed to NodeConsole.cmdArgs. Default {}.
OptionalliteralFalse: booleanOptional. Passed to NodeConsole.cmdArgs. Default undefined.
Optionalequals: booleanOptional. Passed to NodeConsole.cmdArgs. Default undefined.
ExperimentalFormats an arguments object into a command-line string of arguments.
Arguments to translate.
Optional. If true, false arguments are converted to
--key=false. Otherwise false args are --no-key.
Default false.
Optional. Whether argument keys should include an
equals character (e.g., --key=false). Default true.
A configurable class for outputting to console within node.
Includes formatting and interactive utilities.
See
MessageMaker Used to format strings for output. Initialized in the constructor.
Since
0.1.1
Since
2.0.0-alpha — Prompters moved to a NodeConsole_Prompt property instead.