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

x/ayonli_jsext/workerd/fs.ts>readFileAsFile

A JavaScript extension package for building strong and modern applications.
Latest
function readFileAsFile
import { readFileAsFile } from "https://deno.land/x/ayonli_jsext@v0.9.72/workerd/fs.ts";

Parameters

target: string | FileSystemFileHandle
optional
options: ReadFileOptions = [UNSUPPORTED]

Returns

Promise<File>