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: booleanExperimentalExperimentalBuild a complete args object.
Optionalargs: RecursivePartial<MessageMaker.Args>ExperimentalBuild a complete args object.
Optionalargs: InputArgsExperimentalOverrides the default function to return a string representation of this object.
ExperimentalJoins string arrays with a single new line and adds an indent to the beginning of every line, and adds next level of indent for child arrays.
String to implode. Arrays are joined with '\n'.
Optional. Default this.args.msg.tab.
The same text, but with an indent added after every new line.
ExperimentalFormats the given message according to options.
Message to display. If it's an array, the strings are joined with '\n'.
Optional. Overrides for default arguments in MessageMaker.args.
ExperimentalFormats given messages individually and then joins them on return.
Messages to display, each with their own personal override arguments. Joined with universalArgs.joiner (default '\n\n') before return.
Optional. Overrides for default arguments in MessageMaker.args for all messages.
ExperimentalFormats the given message according to options.
Message to display. If it's an array, the strings are joined with '\n'.
Optional. Overrides for default arguments in ['msgArgs']. Used for the whole message.
Optional. Overrides for default arguments in ['msgArgs']. Used only for the timestamp.
ProtectedlineExperimentalUsed to map each line of a message in MessageMaker.msg.
Does not wrap or split it (assumes this has already been done). Applies MessageMaker.painter and MessageMaker.Args.depth indent.
String to map. Already wrapped to line width, if applicable.
Message arguments that apply to this line. Also passed to MessageMaker.painter.
Optional. Unpainted string added before the line. Helpful for hanging indents. Default ''.
Protected StaticdefaultExperimentalReturns the default painter callback function for the given format.
'html' and 'markdown' default painters currently do not apply any
colours.
Used only by MessageMaker.buildArgs.
A complete arguments object. Requires complete to avoid building complete arguments multiple times.
ExperimentalApplies colour and font styles to an message for output.
A configurable class for formatting message strings for various outputs.
Since
0.1.1 — Experimental