the source array.
the array to compare.
Array equals compares two arrays for matches then ensures same length.
the array containing matchable values.
the comparator array containing actual values.
Extends target array with source values if not already exists.
the target array.
the source array.
optional array of filters.
optional function called to normalize values.
Compares two arrays returning matches.
the source array to find matches from.
the array to compare for matches.
Removes items from an array in a nested object.
an object to remove/purge from.
the key of the array to purge items from.
a list of keys to be removed.
Inspects array removing duplicates.
an array to inspect.
Checks if required variadic arg was erroneously specified.
the expanded tokens.
Checks if has dot notation arg.
the tokens to be inspected.
Ensures that required args do not follow optional ones.
array of matching arg types.
Checks if tokens contain multiple command args.
the tokens expanded into an array.
Colorize with ansi styles.
the value to apply styles to.
the ansi styles to be applied.
Simple method to copy properties to new object (no deep). For ex: an Error object where stack/message aren't cloned.
an object which you want to copy properties of.
an array of keys to filter if any.
Generates a date then formats.
the format for the date.
when true UTC is used.
Formats specified date with optional UTC.
a string to convert or Date.
a string to format the date with.
whether to use utc.
Normalize array expands args to an array and spreads single flag options.
the token string to be normalized.
an array of items to filter out.
Takes and array and inspects if flag is boolean or has a value.
the array of values to inspect.
the index of the flag to inspect.
Formats message with string format tokens, objects or templates strings.
the string or object to be formatted.
arguments used for format strings or templates.
Gets log symbols.
Checks if a string contains tokens used in commands or options.
the value to inspect.
Checks if token is an arg and has variadic tokens ([arg...]).
the value to inspect.
Checks if token is an arg and has required variadic tokens (<arg...>).
the value to inspect.
Checks if a path is executable.
the path to be inspected.
Checks if flag is negated (--no-flag).
the value to inspect.
Checks if value is a given type.
the type key for inspecting.
the value to inspect.
Loads/reads a yaml or json configuration file.
the path to the config file.
forces a specific file type.
Parses arg into options arguments.
the argument to be parsed.
the argument's key.
Parses an option into a configuration object.
the option to be parsed.
Strips tokens and ensures camelcase.
the name to be normalized.
Parses all tokens in string or array expanding into configurable options objects.
the token string or array to be parsed.
the token command name.
Pluralizes a string.
the value to pluralize.
the count to be inspected.
Pluralizes a string with custom pluralizer.
the value to pluralize.
the string to use to pluralize.
the count to be inspected.
Splits usage string or tokens array separating the prefix from the actual usage string.
the tokens containing usage.
Strips ansi characters.
the value to be stripped.
Strips colurs from string.
the value to strip.
Removes flag tokens from value.
the value to strip.
Strips all tokens from string.
the value to strip.
Converts to arg token.
the value to convert to arg token.
when true wraps arg as required token.
Camelize string, ignore dot notation strings when strict.
the value to camelize
when true dot notation values ignored.
Converts a string to a flag token.
the value to convert to flag token.
Ensures a function has a callback.
the function to normalize.
Casts value to type.
the type key to get.
the value to be cast to type.
Validate tokens iterates checks ensuring the tokens are valid format and sequencing.
the string or array of tokens to validate.
Generated using TypeDoc
Inspects two arrays finding elements that are missing that are matches and those excluded from source.