import { Bundlee } from "https://deno.land/x/bundlee@0.9.4/mod.ts";
Methods
private
bundleFiles(basePath: string, fileList: string[]): Promise<Record<string, Metadata>>Bundle files into a single JSON object.
private
getContentType(filePath: string): stringprivate
recursiveReaddir(path: string, extensionFilter?: string[]): Promise<string[]>Recursively read a directory and return a list of files.
import(fileUrl: string, importType?: "import" | "fetch" | "local")
Imports a bundle JSON file.
Used by the load()-factory
restore(targetPath: string): Promise<void>
Restores all files in the bundle to the filesystem, including their modified time.