A configurable class for formatting message strings for various outputs.
Used only for MessageMaker.
The simplest implementation of the ConsoleUtility interface, intended as a fallback or to be extended.
Inspects the value of a variable for debugging.
Used only for VariableInspector.
Uses Array.filter to create a unique array.
Utilities for the arrayUnique function.
Tests if the given object has an iterator function.
Returns a single-level map with kebab/snake/etc. case keys based on nested map keys.
Utilities for the mapFlatten function.
Returns a single-level map with kebab/snake/etc. case keys based on nested map keys.
Converts a Map (and any of its Map children, recursively) to a simple object.
Converts a Map (and any of its Map children, recursively) to a simple object.
Deletes the properties of the given object whose types are undefined.
Utilities for the deleteUndefinedProps function.
Checks whether an object is empty (by checking for keys and constructor).
Returns an updated version of defaults merged with the contents of
inputs.
Returns an updated version of defaults merged with the contents of
inputs.
Uses ToEntriesArrayReadonly to provide better typing for Object.entries.
Returns a single-level object record with kebab/snake/etc. case keys based on nested object keys.
Utilities for the objectFlatten function.
Returns a single-level object record with kebab/snake/etc. case keys based on nested object keys.
Uses ToEntriesArrayReadonly to provide better typing for Object.fromEntries.
Sorts a record object according to its keys and returns a sorted copy.
Sorts a record object according to its keys and returns a sorted copy.
A utility to map the values of an object using a callback function.
Maps a single-level object's properties to new values based on a callback function.
Escapes a string for use in a regular expression.
Escapes a string for use as a replacement for a regular expression.
Makes any input a number if it can be made into a valid number (e.g., by parsing a string).
Makes any input a number if it can be made into a valid number (e.g., by parsing a string).
Turns the given slug into a string with only a-z, 0-9, and hyphens.
Utilities for the slugify function.
Takes an input string and inserts \n to soft wrap text within the given width.
Formats a date in a predictable way.
Used only for timestamp function.
Converts the given string to title case.
Changes the indent of a file with structured space-based indents at the start of lines (like css or json).
Takes and object and removes some of its keys, with better typing (if you use it right). Do rely on this typing if your omitKeys is not a string literal or array of string literals.
Takes a number and returns a fallback value if that number is NaN.
Takes a number and returns a fallback value if that number is NaN.
Utilities specific to the Node environment.