ExperimentalExperimentalAlias for NodeConsole.log with via: "debug" argument.
ExperimentalAlias for NodeConsole.logs with via: "debug" argument.
ExperimentalAlias for NodeConsole.log with via: "error" argument.
ExperimentalAlias for NodeConsole.verbose.
ExperimentalAlias for NodeConsole.separator.
ExperimentalAlias for NodeConsole.log with via: "info" argument.
ExperimentalAlias for NodeConsole.log with via: "warn" argument.
ExperimentalAlias for NodeConsole.logs with via: "warn" argument.
Readonly ExperimentalargsA completed args object.
ExperimentalBuild a complete args object.
Optionalargs: RecursivePartial<NodeConsole.Args>ExperimentalGets the maxWidth from NodeConsole.args, or default (120) if
none is set.
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.
ExperimentalOutputs the given message to the console prefixed with a timestamp.
ExperimentalOutputs an inspection of the given variable to the console.
ExperimentalOutput an inspection of the given variable to the console, with a timestamp if desired.
ProtectedoutputExperimentalBase method for outputting the given message to the console.
Default required methods included for different 'levels' of output.
N.B.: 'verbose' is used as a more discriptive version of default loggers' 'info' method.
The message to be output. Processed by MessageMaker.msg.
Optional. Configuration for the output and message, if any.
MessageMaker.msg Used to format the message.
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.
Optionalvia: OutputMethodDefault required methods included for different 'levels' of output.
N.B.: 'verbose' is used as a more discriptive version of default loggers' 'info' method.
MessageMaker.msg Used to format the message.
ExperimentalOutputs a separator string to the console.
Optionalvia: OutputMethodDefault required methods included for different 'levels' of output.
N.B.: 'verbose' is used as a more discriptive version of default loggers' 'info' method.
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: 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.
Readonly ExperimentalmsgA local instance of MessageMaker initialized using
{@link NodeConsole.Args}.msgMaker.
ExperimentalOutputs the given message to the console.
Protected_ExperimentalDefault required methods included for different 'levels' of output.
N.B.: 'verbose' is used as a more discriptive version of default loggers' 'info' method.
Protected_ExperimentalDefault required methods included for different 'levels' of output.
N.B.: 'verbose' is used as a more discriptive version of default loggers' 'info' method.
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.