Skip to main content
Module

x/lume/core/site.ts>default#getContent

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method default.prototype.getContent
import { default } from "https://deno.land/x/lume@v1.15.2/core/site.ts";

Get the content of a file. Resolve the path if it's needed.

Parameters

file: string
optional
unnamed 1: ResolveOptions = [UNSUPPORTED]

Returns

Promise<string | Uint8Array | undefined>