Skip to main content
FileOptions.endings - Node documentation
property FileOptions.endings

Usage in Deno

import { type FileOptions } from "node:buffer";

One of either 'transparent' or 'native'. When set to 'native', line endings in string source parts will be converted to the platform native line-ending as specified by require('node:os').EOL.

Type

"native" | "transparent"