# Type Alias: WriteFileOptions

<!-- YAML
title: "Type Alias: WriteFileOptions"
source_link: lib/util/fs.js#L350
-->

- Type: {null | "ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex" | ObjectEncodingOptionsFs & Abortable & { flag?: string; flush?: boolean; mode?: string | number }}
