deno.land / x / hono@v4.2.5 / preset / tiny.ts
12345678910111213141516import { HonoBase } from '../hono-base.ts'import type { HonoOptions } from '../hono-base.ts'import { PatternRouter } from '../router/pattern-router/index.ts'import type { BlankSchema, Env, Schema } from '../types.ts'
export class Hono< E extends Env = Env, S extends Schema = BlankSchema, BasePath extends string = '/'> extends HonoBase<E, S, BasePath> { constructor(options: HonoOptions<E> = {}) { super(options) this.router = new PatternRouter() }}
Version Info