FormatOptions
§Properties
Do not include superfluous whitespace characters and line terminators. Default is false.
Escape as few characters in string literals as necessary. Default is false.
Generate hexadecimal a numeric literal if it is shorter than its equivalents. Requires option.format.renumber. Default is false.
The indent options
Enforce JSON format of numeric and string literals. This option takes precedence over option.format.hexadecimal and option.format.quotes. Default is false.
Preserve parentheses in new expressions that have no arguments. Default is true.
Delimiter to use for string literals. Accepted values are: 'single', 'double', and 'auto'. When 'auto' is specified, escodegen selects a delimiter that results in a shorter literal. Default is 'single'.
Try to generate shorter numeric literals than toString() (9.8.1). Default is false.