globalThis.document
const path = (await Array.fromAsync(Deno.stdin.readable.pipeThrough(new TextDecoderStream()))).join('')console.log((await Deno.stat(path)).isFile)console.log(Deno.statSync(path).isFile)
jsr:
deno.json
import { encodeHex } from '@std/encoding'const hash = encodeHex(await crypto.subtle.digest('SHA-256', await Deno.readFile(path)))
const json = JSON.parse(await Deno.readTextFile('path.json'))