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

x/lume/core/utils.ts>read

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function read
import { read } from "https://deno.land/x/lume@v1.18.5/core/utils.ts";

Parameters

path: string
isBinary: boolean

Returns

Promise<Uint8Array | string>

Parameters

path: string
isBinary: true
optional
init: RequestInit

Returns

Promise<Uint8Array>

Parameters

path: string
isBinary: false
optional
init: RequestInit

Returns

Promise<string>