the line to be cleaned up.
Simple method to clone a class.
the class instance you wish to clone.
Helper to colorize strings with ansi colors.
the string to be colorize.
the ansi color styles to be applied.
Just creates a styled error message.
the error message or Error instance.
Ensures an options object contains correct default values.
the options object to ensure defaults for.
the default values.
Escapes a regexp string.
the string to escape.
Checks if line is a blank line after stripping any ansi styles or line returns.
the line to be inspected.
Pads a string left or right.
the string to be padded.
the direction left or right.
the amount of padding to apply.
Timestamp only supports long format e.g. 'YYYY.MM.DD HH:mm:ss' If you need more advanced formatting pass in "onTimestamp" handler in Spawnmon options.
the date to create timestamp for.
Truncates a string.
the string to be inspected or truncated.
the maximum length permissible.
the trailing char when exceeds length.
Generated using TypeDoc
Detects line returns if match slices, run before transform to retain consistent line returns.