Skip to main content
Module

x/embed/mod.ts>Embed#readFile

Embed files into demo applications by embedding them into a JSON file and importing natively into the demo app.
Latest
method Embed.prototype.readFile
import { Embed } from "https://deno.land/x/embed@0.2.5/mod.ts";

Parameters

path: string

Returns

Uint8Array