Complete collection of AI agent skills including: - Frontend Development (Vue, React, Next.js, Three.js) - Backend Development (NestJS, FastAPI, Node.js) - Mobile Development (React Native, Expo) - Testing (E2E, frontend, webapp) - DevOps (GitHub Actions, CI/CD) - Marketing (SEO, copywriting, analytics) - Security (binary analysis, vulnerability scanning) - And many more... Synchronized from: https://skills.sh/ Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
698 B
TypeScript
18 lines
698 B
TypeScript
import { Env, Context, MiddlewareHandler } from 'hono';
|
|
|
|
type ServeStaticOptions<E extends Env = Env> = {
|
|
/**
|
|
* Root path, relative to current working directory from which the app was started. Absolute paths are not supported.
|
|
*/
|
|
root?: string;
|
|
path?: string;
|
|
index?: string;
|
|
precompressed?: boolean;
|
|
rewriteRequestPath?: (path: string, c: Context<E>) => string;
|
|
onFound?: (path: string, c: Context<E>) => void | Promise<void>;
|
|
onNotFound?: (path: string, c: Context<E>) => void | Promise<void>;
|
|
};
|
|
declare const serveStatic: <E extends Env = any>(options?: ServeStaticOptions<E>) => MiddlewareHandler<E>;
|
|
|
|
export { type ServeStaticOptions, serveStatic };
|