Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function readFileSync
import { readFileSync } from "https://deno.land/std@0.130.0/node/_fs/_fs_readFile.ts";

Returns

string

Parameters

path: string | URL
optional
opt: FileOptionsArgument

Returns

string | Buffer