UNPKG

bknd

Version:

Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.

7 lines (6 loc) 337 B
import type { Context } from "hono"; import type { ServerEnv } from "../../modules/Controller"; export declare function shouldSkip(c: Context<ServerEnv>, skip?: (string | RegExp)[]): boolean; export declare const auth: (options?: { skip?: (string | RegExp)[]; }) => import("hono").MiddlewareHandler<ServerEnv, string, {}, Response>;