deno.land / x / lume@v2.1.4 / core / loaders / binary.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
import { read } from "../utils/read.ts";
import type { RawData } from "../file.ts";
/** Load binary files, like images, audio, video, etc. */export default async function binary(path: string): Promise<RawData> { const content = await read(path, true); return { content };}
lume

Version Info

Tagged at
7 months ago