Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/bundlee/mod.ts>Bundlee#get

Bundle static assets to a single JSON-file.
Go to Latest
method Bundlee.prototype.get
import { Bundlee } from "https://deno.land/x/bundlee@0.9.3/mod.ts";

Get the content of a file from a JSON bundle.

Parameters

filePath: string

The path of the file to retrieve.

Returns

Promise<Metadata>

A promise that resolves to the metadata object for the file, containing its content, content type, and last modified time.