Skip to main content
File - buffer - Node documentation
class File
extends Blob

Usage in Deno

import { File } from "node:buffer";

A File provides information about files.

Constructors

new
File(
sources: Array<BinaryLike | Blob>,
fileName: string,
options?: FileOptions,
)

Properties

readonly
lastModified: number

The last modified date of the File.

readonly
name: string

The name of the File.

interface File
extends _File