Skip to main content
FileOptions.endings - buffer - 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 import { EOL } from 'node:os'.

Type

"native" | "transparent"
Back to top