Optional
charsetThe character set encoding of the file.
Defaults to "utf-8".
Optional
endThe line ending style of the file.
If null
, the stringifier default is used.
Defaults to null
.
Optional
finalWhether the file should end with a newline.
If null
, the stringifier default is used.
Defaults to null
.
Optional
trimWhether to trim trailing whitespace when writing the file.
If null
, the stringifier default is used.
Defaults to null
.
Options for formatting text files when writing.