ExperimentalExperimental
Default arguments.
Protected StaticdefaultExperimental
Returns 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.
Experimental
Build a complete args object.
Optionalargs: RecursivePartial<MessageMaker.Args>Experimental
Formats 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.
Experimental
Joins 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.
Experimental
Formats 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.
Experimental
Build a complete MessageMaker.MsgArgs object.
Optionalargs: InputArgsExperimental
Applies colour and font styles to an message for output.
Experimental
Formats a message prepended with a timestamp.
Message to display. If it's an array, the strings are joined with '\n'.
Optional. Overrides for default arguments in MessageMaker.msgArgs.
ProtectedlineExperimental
Used 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 ''.
A configurable class for formatting message strings for various outputs.
Since
0.1.1 — Experimental