OptionalcharsetThe character set encoding of the file.
Defaults to "utf-8".
OptionalendThe line ending style of the file.
If null, the stringifier default is used.
Defaults to null.
OptionalfinalWhether the file should end with a newline.
If null, the stringifier default is used.
Defaults to null.
OptionaltrimWhether 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.