FileOptions
Defined in: node_modules/.pnpm/@types+node@24.6.2/node_modules/@types/node/buffer.d.ts:204
Properties
Section titled “Properties”endings?
Section titled “endings?”optional endings: "transparent" | "native";
Defined in: node_modules/.pnpm/@types+node@24.6.2/node_modules/@types/node/buffer.d.ts:209
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'
.
lastModified?
Section titled “lastModified?”optional lastModified: number;
Defined in: node_modules/.pnpm/@types+node@24.6.2/node_modules/@types/node/buffer.d.ts:213
The last modified date of the file. Default
: Date.now().
optional type: string;
Defined in: node_modules/.pnpm/@types+node@24.6.2/node_modules/@types/node/buffer.d.ts:211
The File content-type.