Skip to main content
FileOptions - node__buffer.d.ts - Node documentation
interface FileOptions

Usage in Deno

```typescript import { type FileOptions } from "node:node__buffer.d.ts"; ```

Properties

optional
endings: "native" | "transparent"
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'`.
optional
type: string
The File content-type.
optional
lastModified: number
The last modified date of the file. `Default`: Date.now().