API reference
/static
@senrijs/senri/static: Static files
Static files.
import { ... } from "@senrijs/senri/static";Functions and classes
| Name | What it does |
|---|---|
serveStatic(options) | Middleware that serves the files in a folder |
Types
ServeStaticOptions
Prop
Type
Source: adapters/static/index.ts