[{"data":1,"prerenderedAt":1011},["ShallowReactive",2],{"navigation":3,"examples-nav":228,"-examples-plugins":357,"-examples-plugins-surround":1004},[4,83,212,218,225],{"title":5,"path":6,"stem":7,"children":8,"icon":82},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","/docs/quick-start","1.docs/2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","/docs/renderer","1.docs/4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","/docs/routing","1.docs/5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","/docs/assets","1.docs/50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","/docs/configuration","1.docs/50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","/docs/database","1.docs/50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","/docs/lifecycle","1.docs/50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"Plugins","/docs/plugins","1.docs/50.plugins","ri:plug-line",{"title":53,"path":54,"stem":55,"icon":56},"Tasks","/docs/tasks","1.docs/50.tasks","codicon:run-all",{"title":58,"path":59,"stem":60,"icon":61},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":63,"path":64,"stem":65,"icon":66},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":68,"path":69,"stem":70,"icon":71},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":73,"path":74,"stem":75,"icon":76},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":78,"path":79,"stem":80,"icon":81},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":84,"path":85,"stem":86,"children":87,"icon":89},"Deploy","/deploy","2.deploy/0.index",[88,90,111],{"title":84,"path":85,"stem":86,"icon":89},"ri:upload-cloud-2-line",{"title":91,"path":92,"stem":93,"children":94,"page":110},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[95,100,105],{"title":96,"path":97,"stem":98,"icon":99},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":101,"path":102,"stem":103,"icon":104},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":106,"path":107,"stem":108,"icon":109},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":112,"path":113,"stem":114,"children":115,"page":110},"Providers","/deploy/providers","2.deploy/20.providers",[116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208],{"title":117,"path":118,"stem":119},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":121,"path":122,"stem":123},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":125,"path":126,"stem":127},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":129,"path":130,"stem":131},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":133,"path":134,"stem":135},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":137,"path":138,"stem":139},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":141,"path":142,"stem":143},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":145,"path":146,"stem":147},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":149,"path":150,"stem":151},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":153,"path":154,"stem":155},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":157,"path":158,"stem":159},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":161,"path":162,"stem":163},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":165,"path":166,"stem":167},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":169,"path":170,"stem":171},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":173,"path":174,"stem":175},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":177,"path":178,"stem":179},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":181,"path":182,"stem":183},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":185,"path":186,"stem":187},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":189,"path":190,"stem":191},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":193,"path":194,"stem":195},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":197,"path":198,"stem":199},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":201,"path":202,"stem":203},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":205,"path":206,"stem":207},"Zephyr Cloud","/deploy/providers/zephyr","2.deploy/20.providers/zephyr",{"title":209,"path":210,"stem":211},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":213,"path":214,"stem":215,"children":216,"icon":36},"Config","/config","3.config/0.index",[217],{"title":213,"path":214,"stem":215,"icon":36},{"title":219,"path":220,"stem":221,"children":222,"icon":224},"Examples","/examples","4.examples/0.index",[223],{"title":219,"path":220,"stem":221,"icon":224},"i-lucide-folder-code",{"title":5,"path":226,"stem":227},"/","index",[229,234,239,243,247,250,255,259,263,267,271,275,279,284,288,291,295,299,303,308,312,317,321,325,329,333,337,341,345,349,353],{"title":230,"description":231,"category":232,"path":233},"API Routes","File-based API routing with HTTP method support and dynamic parameters.","features","/examples/api-routes/readme",{"title":235,"description":236,"category":237,"path":238},"Auto Imports","Automatic imports for utilities and composables.","config","/examples/auto-imports/readme",{"title":240,"description":241,"category":232,"path":242},"Cached Handler","Cache route responses with configurable bypass logic.","/examples/cached-handler/readme",{"title":244,"description":245,"category":232,"path":246},"Custom Error Handler","Customize error responses with a global error handler.","/examples/custom-error-handler/readme",{"title":38,"description":248,"category":232,"path":249},"Built-in database support with SQL template literals.","/examples/database/readme",{"title":251,"description":252,"category":253,"path":254},"Elysia","Integrate Elysia with Nitro using the server entry.","backend frameworks","/examples/elysia/readme",{"title":256,"description":257,"category":253,"path":258},"Express","Integrate Express with Nitro using the server entry.","/examples/express/readme",{"title":260,"description":261,"category":253,"path":262},"Fastify","Integrate Fastify with Nitro using the server entry.","/examples/fastify/readme",{"title":264,"description":265,"category":232,"path":266},"Hello World","Minimal Nitro server using the web standard fetch handler.","/examples/hello-world/readme",{"title":268,"description":269,"category":253,"path":270},"Hono","Integrate Hono with Nitro using the server entry.","/examples/hono/readme",{"title":272,"description":273,"category":237,"path":274},"Import Alias","Custom import aliases for cleaner module paths.","/examples/import-alias/readme",{"title":276,"description":277,"category":232,"path":278},"Middleware","Request middleware for authentication, logging, and request modification.","/examples/middleware/readme",{"title":280,"description":281,"category":282,"path":283},"Mono JSX","Server-side JSX rendering in Nitro with mono-jsx.","server side rendering","/examples/mono-jsx/readme",{"title":285,"description":286,"category":282,"path":287},"Nano JSX","Server-side JSX rendering in Nitro with nano-jsx.","/examples/nano-jsx/readme",{"title":48,"description":289,"category":232,"path":290},"Extend Nitro with custom plugins for hooks and lifecycle events.","/examples/plugins/readme",{"title":292,"description":293,"category":282,"path":294},"Custom Renderer","Build a custom HTML renderer in Nitro with server-side data fetching.","/examples/renderer/readme",{"title":296,"description":297,"category":237,"path":298},"Runtime Config","Environment-aware configuration with runtime access.","/examples/runtime-config/readme",{"title":300,"description":301,"category":232,"path":302},"Server Fetch","Internal server-to-server requests without network overhead.","/examples/server-fetch/readme",{"title":304,"description":305,"category":306,"path":307},"Shiki","Server-side syntax highlighting in Nitro with Shiki.","integrations","/examples/shiki/readme",{"title":309,"description":310,"category":232,"path":311},"Virtual Routes","Define routes programmatically using Nitro's virtual module system.","/examples/virtual-routes/readme",{"title":313,"description":314,"category":315,"path":316},"Vite Nitro Plugin","Use Nitro as a Vite plugin for programmatic configuration.","vite","/examples/vite-nitro-plugin/readme",{"title":318,"description":319,"category":315,"path":320},"Vite RSC","React Server Components with Vite and Nitro.","/examples/vite-rsc/readme",{"title":322,"description":323,"category":282,"path":324},"Vite SSR HTML","Server-side rendering with vanilla HTML, Vite, and Nitro.","/examples/vite-ssr-html/readme",{"title":326,"description":327,"category":282,"path":328},"SSR with Preact","Server-side rendering with Preact in Nitro using Vite.","/examples/vite-ssr-preact/readme",{"title":330,"description":331,"category":282,"path":332},"SSR with React","Server-side rendering with React in Nitro using Vite.","/examples/vite-ssr-react/readme",{"title":334,"description":335,"category":282,"path":336},"SSR with SolidJS","Server-side rendering with SolidJS in Nitro using Vite.","/examples/vite-ssr-solid/readme",{"title":338,"description":339,"category":282,"path":340},"SSR with TanStack Router","Client-side routing with TanStack Router in Nitro using Vite.","/examples/vite-ssr-tsr-react/readme",{"title":342,"description":343,"category":282,"path":344},"SSR with TanStack Start","Full-stack React with TanStack Start in Nitro using Vite.","/examples/vite-ssr-tss-react/readme",{"title":346,"description":347,"category":282,"path":348},"SSR with Vue Router","Server-side rendering with Vue Router in Nitro using Vite.","/examples/vite-ssr-vue-router/readme",{"title":350,"description":351,"category":315,"path":352},"Vite + tRPC","End-to-end typesafe APIs with tRPC in Nitro using Vite.","/examples/vite-trpc/readme",{"title":354,"description":355,"category":232,"path":356},"WebSocket","Real-time bidirectional communication with WebSocket support.","/examples/websocket/readme",{"id":358,"title":48,"body":359,"category":232,"description":289,"extension":997,"icon":998,"meta":999,"navigation":1000,"path":290,"seo":1001,"stem":1002,"__hash__":1003},"examples/examples/plugins/README.md",{"type":360,"value":361,"toc":992},"minimark",[362,790,802,807,913,924,928,964,971,975,988],[363,364,367,441,534,579,603,657],"code-tree",{":expand-all":365,"default-value":366,"expand-all":5},"true","server/plugins/test.ts",[368,369,374],"pre",{"className":370,"code":371,"filename":372,"language":373,"meta":5,"style":5},"language-ts shiki shiki-themes github-light github-dark github-dark","import { defineConfig } from \"nitro\";\n\nexport default defineConfig({\n  serverDir: true,\n});\n","nitro.config.ts","ts",[375,376,377,400,407,423,435],"code",{"__ignoreMap":5},[378,379,382,386,390,393,397],"span",{"class":380,"line":381},"line",1,[378,383,385],{"class":384},"so5gQ","import",[378,387,389],{"class":388},"slsVL"," { defineConfig } ",[378,391,392],{"class":384},"from",[378,394,396],{"class":395},"sfrk1"," \"nitro\"",[378,398,399],{"class":388},";\n",[378,401,403],{"class":380,"line":402},2,[378,404,406],{"emptyLinePlaceholder":405},true,"\n",[378,408,410,413,416,420],{"class":380,"line":409},3,[378,411,412],{"class":384},"export",[378,414,415],{"class":384}," default",[378,417,419],{"class":418},"shcOC"," defineConfig",[378,421,422],{"class":388},"({\n",[378,424,426,429,432],{"class":380,"line":425},4,[378,427,428],{"class":388},"  serverDir: ",[378,430,365],{"class":431},"suiK_",[378,433,434],{"class":388},",\n",[378,436,438],{"class":380,"line":437},5,[378,439,440],{"class":388},"});\n",[368,442,447],{"className":443,"code":444,"filename":445,"language":446,"meta":5,"style":5},"language-json shiki shiki-themes github-light github-dark github-dark","{\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"nitro dev\",\n    \"build\": \"nitro build\"\n  },\n  \"devDependencies\": {\n    \"nitro\": \"latest\"\n  }\n}\n","package.json","json",[375,448,449,454,467,475,487,497,503,511,522,528],{"__ignoreMap":5},[378,450,451],{"class":380,"line":381},[378,452,453],{"class":388},"{\n",[378,455,456,459,462,465],{"class":380,"line":402},[378,457,458],{"class":431},"  \"type\"",[378,460,461],{"class":388},": ",[378,463,464],{"class":395},"\"module\"",[378,466,434],{"class":388},[378,468,469,472],{"class":380,"line":409},[378,470,471],{"class":431},"  \"scripts\"",[378,473,474],{"class":388},": {\n",[378,476,477,480,482,485],{"class":380,"line":425},[378,478,479],{"class":431},"    \"dev\"",[378,481,461],{"class":388},[378,483,484],{"class":395},"\"nitro dev\"",[378,486,434],{"class":388},[378,488,489,492,494],{"class":380,"line":437},[378,490,491],{"class":431},"    \"build\"",[378,493,461],{"class":388},[378,495,496],{"class":395},"\"nitro build\"\n",[378,498,500],{"class":380,"line":499},6,[378,501,502],{"class":388},"  },\n",[378,504,506,509],{"class":380,"line":505},7,[378,507,508],{"class":431},"  \"devDependencies\"",[378,510,474],{"class":388},[378,512,514,517,519],{"class":380,"line":513},8,[378,515,516],{"class":431},"    \"nitro\"",[378,518,461],{"class":388},[378,520,521],{"class":395},"\"latest\"\n",[378,523,525],{"class":380,"line":524},9,[378,526,527],{"class":388},"  }\n",[378,529,531],{"class":380,"line":530},10,[378,532,533],{"class":388},"}\n",[368,535,538],{"className":370,"code":536,"filename":537,"language":373,"meta":5,"style":5},"import { eventHandler } from \"h3\";\n\nexport default eventHandler(() => \"\u003Ch1>Hello Nitro!\u003C/h1>\");\n","server.ts",[375,539,540,554,558],{"__ignoreMap":5},[378,541,542,544,547,549,552],{"class":380,"line":381},[378,543,385],{"class":384},[378,545,546],{"class":388}," { eventHandler } ",[378,548,392],{"class":384},[378,550,551],{"class":395}," \"h3\"",[378,553,399],{"class":388},[378,555,556],{"class":380,"line":402},[378,557,406],{"emptyLinePlaceholder":405},[378,559,560,562,564,567,570,573,576],{"class":380,"line":409},[378,561,412],{"class":384},[378,563,415],{"class":384},[378,565,566],{"class":418}," eventHandler",[378,568,569],{"class":388},"(() ",[378,571,572],{"class":384},"=>",[378,574,575],{"class":395}," \"\u003Ch1>Hello Nitro!\u003C/h1>\"",[378,577,578],{"class":388},");\n",[368,580,583],{"className":443,"code":581,"filename":582,"language":446,"meta":5,"style":5},"{\n  \"extends\": \"nitro/tsconfig\"\n}\n","tsconfig.json",[375,584,585,589,599],{"__ignoreMap":5},[378,586,587],{"class":380,"line":381},[378,588,453],{"class":388},[378,590,591,594,596],{"class":380,"line":402},[378,592,593],{"class":431},"  \"extends\"",[378,595,461],{"class":388},[378,597,598],{"class":395},"\"nitro/tsconfig\"\n",[378,600,601],{"class":380,"line":409},[378,602,533],{"class":388},[368,604,607],{"className":370,"code":605,"filename":606,"language":373,"meta":5,"style":5},"import { defineConfig } from \"vite\";\nimport { nitro } from \"nitro/vite\";\n\nexport default defineConfig({ plugins: [nitro()] });\n","vite.config.ts",[375,608,609,622,636,640],{"__ignoreMap":5},[378,610,611,613,615,617,620],{"class":380,"line":381},[378,612,385],{"class":384},[378,614,389],{"class":388},[378,616,392],{"class":384},[378,618,619],{"class":395}," \"vite\"",[378,621,399],{"class":388},[378,623,624,626,629,631,634],{"class":380,"line":402},[378,625,385],{"class":384},[378,627,628],{"class":388}," { nitro } ",[378,630,392],{"class":384},[378,632,633],{"class":395}," \"nitro/vite\"",[378,635,399],{"class":388},[378,637,638],{"class":380,"line":409},[378,639,406],{"emptyLinePlaceholder":405},[378,641,642,644,646,648,651,654],{"class":380,"line":425},[378,643,412],{"class":384},[378,645,415],{"class":384},[378,647,419],{"class":418},[378,649,650],{"class":388},"({ plugins: [",[378,652,653],{"class":418},"nitro",[378,655,656],{"class":388},"()] });\n",[368,658,660],{"className":370,"code":659,"filename":366,"language":373,"meta":5,"style":5},"import { definePlugin } from \"nitro\";\nimport { useNitroHooks } from \"nitro/app\";\n\nexport default definePlugin((nitroApp) => {\n  const hooks = useNitroHooks();\n  hooks.hook(\"response\", (event) => {\n    event.headers.set(\"content-type\", \"html; charset=utf-8\");\n  });\n});\n",[375,661,662,675,689,693,717,734,760,781,786],{"__ignoreMap":5},[378,663,664,666,669,671,673],{"class":380,"line":381},[378,665,385],{"class":384},[378,667,668],{"class":388}," { definePlugin } ",[378,670,392],{"class":384},[378,672,396],{"class":395},[378,674,399],{"class":388},[378,676,677,679,682,684,687],{"class":380,"line":402},[378,678,385],{"class":384},[378,680,681],{"class":388}," { useNitroHooks } ",[378,683,392],{"class":384},[378,685,686],{"class":395}," \"nitro/app\"",[378,688,399],{"class":388},[378,690,691],{"class":380,"line":409},[378,692,406],{"emptyLinePlaceholder":405},[378,694,695,697,699,702,705,709,712,714],{"class":380,"line":425},[378,696,412],{"class":384},[378,698,415],{"class":384},[378,700,701],{"class":418}," definePlugin",[378,703,704],{"class":388},"((",[378,706,708],{"class":707},"sQHwn","nitroApp",[378,710,711],{"class":388},") ",[378,713,572],{"class":384},[378,715,716],{"class":388}," {\n",[378,718,719,722,725,728,731],{"class":380,"line":437},[378,720,721],{"class":384},"  const",[378,723,724],{"class":431}," hooks",[378,726,727],{"class":384}," =",[378,729,730],{"class":418}," useNitroHooks",[378,732,733],{"class":388},"();\n",[378,735,736,739,742,745,748,751,754,756,758],{"class":380,"line":499},[378,737,738],{"class":388},"  hooks.",[378,740,741],{"class":418},"hook",[378,743,744],{"class":388},"(",[378,746,747],{"class":395},"\"response\"",[378,749,750],{"class":388},", (",[378,752,753],{"class":707},"event",[378,755,711],{"class":388},[378,757,572],{"class":384},[378,759,716],{"class":388},[378,761,762,765,768,770,773,776,779],{"class":380,"line":505},[378,763,764],{"class":388},"    event.headers.",[378,766,767],{"class":418},"set",[378,769,744],{"class":388},[378,771,772],{"class":395},"\"content-type\"",[378,774,775],{"class":388},", ",[378,777,778],{"class":395},"\"html; charset=utf-8\"",[378,780,578],{"class":388},[378,782,783],{"class":380,"line":513},[378,784,785],{"class":388},"  });\n",[378,787,788],{"class":380,"line":524},[378,789,440],{"class":388},[791,792,793,794,797,798,801],"p",{},"Plugins let you hook into Nitro's runtime lifecycle. This example shows a plugin that modifies the ",[375,795,796],{},"Content-Type"," header on every response. Create files in ",[375,799,800],{},"server/plugins/"," and they're automatically loaded at startup.",[803,804,806],"h2",{"id":805},"defining-a-plugin","Defining a Plugin",[368,808,809],{"className":370,"code":659,"filename":366,"language":373,"meta":5,"style":5},[375,810,811,823,835,839,857,869,889,905,909],{"__ignoreMap":5},[378,812,813,815,817,819,821],{"class":380,"line":381},[378,814,385],{"class":384},[378,816,668],{"class":388},[378,818,392],{"class":384},[378,820,396],{"class":395},[378,822,399],{"class":388},[378,824,825,827,829,831,833],{"class":380,"line":402},[378,826,385],{"class":384},[378,828,681],{"class":388},[378,830,392],{"class":384},[378,832,686],{"class":395},[378,834,399],{"class":388},[378,836,837],{"class":380,"line":409},[378,838,406],{"emptyLinePlaceholder":405},[378,840,841,843,845,847,849,851,853,855],{"class":380,"line":425},[378,842,412],{"class":384},[378,844,415],{"class":384},[378,846,701],{"class":418},[378,848,704],{"class":388},[378,850,708],{"class":707},[378,852,711],{"class":388},[378,854,572],{"class":384},[378,856,716],{"class":388},[378,858,859,861,863,865,867],{"class":380,"line":437},[378,860,721],{"class":384},[378,862,724],{"class":431},[378,864,727],{"class":384},[378,866,730],{"class":418},[378,868,733],{"class":388},[378,870,871,873,875,877,879,881,883,885,887],{"class":380,"line":499},[378,872,738],{"class":388},[378,874,741],{"class":418},[378,876,744],{"class":388},[378,878,747],{"class":395},[378,880,750],{"class":388},[378,882,753],{"class":707},[378,884,711],{"class":388},[378,886,572],{"class":384},[378,888,716],{"class":388},[378,890,891,893,895,897,899,901,903],{"class":380,"line":505},[378,892,764],{"class":388},[378,894,767],{"class":418},[378,896,744],{"class":388},[378,898,772],{"class":395},[378,900,775],{"class":388},[378,902,778],{"class":395},[378,904,578],{"class":388},[378,906,907],{"class":380,"line":513},[378,908,785],{"class":388},[378,910,911],{"class":380,"line":524},[378,912,440],{"class":388},[791,914,915,916,919,920,923],{},"The plugin uses ",[375,917,918],{},"useNitroHooks()"," to access the hooks system, then registers a ",[375,921,922],{},"response"," hook that runs after every request. Here it sets the content type to HTML, but you could log requests, add security headers, or modify responses in any way.",[803,925,927],{"id":926},"main-handler","Main Handler",[368,929,930],{"className":370,"code":536,"filename":537,"language":373,"meta":5,"style":5},[375,931,932,944,948],{"__ignoreMap":5},[378,933,934,936,938,940,942],{"class":380,"line":381},[378,935,385],{"class":384},[378,937,546],{"class":388},[378,939,392],{"class":384},[378,941,551],{"class":395},[378,943,399],{"class":388},[378,945,946],{"class":380,"line":402},[378,947,406],{"emptyLinePlaceholder":405},[378,949,950,952,954,956,958,960,962],{"class":380,"line":409},[378,951,412],{"class":384},[378,953,415],{"class":384},[378,955,566],{"class":418},[378,957,569],{"class":388},[378,959,572],{"class":384},[378,961,575],{"class":395},[378,963,578],{"class":388},[791,965,966,967,970],{},"The handler returns HTML without setting a content type. The plugin automatically adds the correct ",[375,968,969],{},"Content-Type: html; charset=utf-8"," header to the response.",[803,972,974],{"id":973},"learn-more","Learn More",[976,977,978,984],"ul",{},[979,980,981],"li",{},[982,983,48],"a",{"href":49},[979,985,986],{},[982,987,43],{"href":44},[989,990,991],"style",{},"html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sQHwn, html code.shiki .sQHwn{--shiki-light:#E36209;--shiki-default:#FFAB70;--shiki-dark:#FFAB70}",{"title":5,"searchDepth":402,"depth":402,"links":993},[994,995,996],{"id":805,"depth":402,"text":806},{"id":926,"depth":402,"text":927},{"id":973,"depth":402,"text":974},"md","i-lucide-plug",{"automd":405},{},{"title":48,"description":289},"examples/plugins/README","dnej-RwdJdqI0h-W7yXeqwhrFnVaBrJNyapav-0N13g",[1005,1008],{"title":276,"path":1006,"stem":1007,"description":277,"children":-1},"/examples/middleware","examples/middleware/README",{"title":300,"path":1009,"stem":1010,"description":301,"children":-1},"/examples/server-fetch","examples/server-fetch/README",1773176974962]