Home > @rushstack/node-core-library > IFileSystemWriteFileOptions

IFileSystemWriteFileOptions interface

The options for FileSystem.writeFile()


export interface IFileSystemWriteFileOptions 


Property Type Description
convertLineEndings NewlineKind If specified, will normalize line endings to the specified style of newline.
encoding Encoding If specified, will change the encoding of the file that will be written.
ensureFolderExists boolean If true, will ensure the folder is created before writing the file.