Skip to main content
Module

x/cav/assets.ts

A server framework for Deno
Go to Latest
import * as cav from "https://deno.land/x/cav@0.0.21/assets.ts";

Functions

Asset preparation procedure that does the following:

Response factory for serving static assets. Asset resolution uses the provided ServeAssetOptions, the Request is only used for caching headers like ETag etc.

Interfaces

Options controlling how assets are found and served.