UNPKG

@hono-filebased-route/core

Version:

A core utility for file-based routing in Hono applications.

16 lines (13 loc) 308 B
export const METHODS = ['GET', 'POST'] as const export type Method = (typeof METHODS)[number] export type ExportedMethods = { [key in Method]: boolean } export type Config = { dir: string output: string write: boolean verbose: boolean externals: string[] typescript: boolean }