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

x/ayonli_jsext/workerd/fs.ts>readFileAsText

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

Parameters

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

Returns

Promise<string>