Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

_File

import { _File } from "https://raw.githubusercontent.com/i-xi-dev/bytes.es/4.4.2/deps.ts";

If the globalThis has a File, or if the node:buffer package has a File, then the File constructor. Otherwise referencing it will throw a ReferenceError.

  • Browser References the globalThis.File

  • Deno References the globalThis.File

  • Node.js 20.0+ References the globalThis.File

  • Node.js 19.2+ or 18.13+ References the File of node:buffer package

let _File: _FileConstructor;