import { deno } from "https://deno.land/x/denoversion@v1.0.2/lib/lib.deno_runtime.d.ts";
const { readFile } = deno;
Read the entire contents of a file.
import { readFile } from "deno";
const decoder = new TextDecoder("utf-8");
const data = await readFile("hello.txt");
console.log(decoder.decode(data));