Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/xdg/vendor/types/deno.d.ts>File

Determine XDG Base Directory paths (OS/platform portable)
Go to Latest
class File
extends Blob
import { File } from "https://deno.land/x/xdg@v10.5.1/vendor/types/deno.d.ts";

Provides information about files and allows JavaScript in a web page to access their content.

Constructors

new
File(
fileBits: BlobPart[],
fileName: string,
options?: FilePropertyBag,
)

Properties

readonly
lastModified: number
readonly
name: string