Files
SnowLuma/.pnpm-store/v11/files/9e/b71e3f09607472a8d54ff679544bf68647bbc449d861e50bc53f84f9c8801b528a297c093f18da65544ea31a40b55066f41417c7c26c4b1e12d826694d3c35
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

19 lines
576 B
Plaintext

import { HonoBase as Hono$1 } from "../hono-base.js";
import { SmartRouter } from "../router/smart-router/router.js";
import { TrieRouter } from "../router/trie-router/router.js";
import "../router/trie-router/index.js";
import { LinearRouter } from "../router/linear-router/router.js";
//#region src/preset/quick.ts
/**
* @module
* The preset that uses `LinearRouter`.
*/
var Hono = class extends Hono$1 {
constructor(options = {}) {
super(options);
this.router = new SmartRouter({ routers: [new LinearRouter(), new TrieRouter()] });
}
};
//#endregion
export { Hono };