Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cav/asset.ts

A server framework for Deno
Go to Latest
import * as cav from "https://deno.land/x/cav@0.2.3/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.