@alexi/staticfiles@0.53.2Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
atzufuki/alexiWorks with
•JSR Score70%•This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers




License
•MIT
Downloads85/wk
•Published11 hours ago (0.53.2)
Static file serving and bundling for Alexi applications.
@alexi/staticfiles
Static file serving and bundling for Alexi applications.
Overview
Provides static file handling similar to Django's django.contrib.staticfiles:
- Finders — Locate static files across apps
- Storage — File storage backends
- Middleware — Serve static files in development
- Bundling — Bundle frontend apps for production
Installation
deno add jsr:@alexi/staticfiles
Basic Usage
import { getHttpApplication } from "@alexi/core"; export default await getHttpApplication();
Middleware (including staticFilesMiddleware) is wired up automatically via your settings' createMiddleware function or MIDDLEWARE array.
Documentation
See the full documentation at docs/staticfiles/staticfiles.md.
License
MIT
Built and signed on
GitHub Actions
Add Package
deno add jsr:@alexi/staticfiles
Import symbol
import * as staticfiles from "@alexi/staticfiles";
Import directly with a jsr specifier
import * as staticfiles from "jsr:@alexi/staticfiles";