createFormatter(format: OutputFormat,options?: FormatterOptions,): BaseFormatter
Deprecated
Use FormatterFactory.create() instead
Factory function to create formatters (backward compatible wrapper)
format: OutputFormat
optional
options: FormatterOptions