Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
16
node_modules/hono/dist/preset/quick.js
generated
vendored
Normal file
16
node_modules/hono/dist/preset/quick.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// src/preset/quick.ts
|
||||
import { HonoBase } from "../hono-base.js";
|
||||
import { LinearRouter } from "../router/linear-router/index.js";
|
||||
import { SmartRouter } from "../router/smart-router/index.js";
|
||||
import { TrieRouter } from "../router/trie-router/index.js";
|
||||
var Hono = class extends HonoBase {
|
||||
constructor(options = {}) {
|
||||
super(options);
|
||||
this.router = new SmartRouter({
|
||||
routers: [new LinearRouter(), new TrieRouter()]
|
||||
});
|
||||
}
|
||||
};
|
||||
export {
|
||||
Hono
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue