Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lume/core/loaders/binary.ts

πŸ”₯ Static site generator for Deno πŸ¦•
Very Popular
Go to Latest
File
import type { Data } from "../../core.ts";
/** Load binary files, like images, audio, video, etc. */export default async function (path: string): Promise<Data> { const content = await Deno.readFile(path); return { content };}