Creates the chain of converters based on the input.
The list of converters
needs to be at least 2 long.
The chain of converters.
Verifies whether this converter supports the input.
Gets the supported input content types for this converter, mapped to a numerical priority.
Finds the best media type that can be used to chain 2 converters.
Gets the supported output content types for this converter, mapped to a numerical quality.
Input data that will be handled if it can be handled.
A promise resolving if the input can be handled, rejecting with an Error if not. Return value depends on the given type.
A meta converter that takes an array of other converters as input. It chains these converters by finding intermediate types that are supported by converters on either side.