Skip to main content
Module

x/cav/asset.ts

A server framework for Deno
Go to Latest
import * as cav from "https://deno.land/x/cav@0.2.0-alpha.5/asset.ts";

Functions

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

Interfaces

Object denoting the location of an assets directory.

Options controlling how assets are found and served.