UNPKG

hono-file-router

Version:

File-based router for easier route management for hono.

12 lines (8 loc) 378 B
import * as hono_types from 'hono/types'; import { Hono } from 'hono'; import * as hono_factory from 'hono/factory'; declare const createHandler: hono_factory.CreateHandlersInterface<any, any>; declare function createFolderRoute({ path }?: { path?: string; }): Promise<Hono<hono_types.BlankEnv, hono_types.BlankSchema, "/">>; export { createFolderRoute, createHandler };