Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

read_file

import { read_file } from "https://raw.githubusercontent.com/olaven/dio/master/mod.ts";

Returns content of file

async function read_file(path: string): Promise<string>;
§
read_file(path: string): Promise<string>
[src]

§Parameters

§
path: string
[src]

§Return Type

§
Promise<string>
[src]