[{"data":1,"prerenderedAt":174},["ShallowReactive",2],{"term-n\u002Fnitro":3,"related-n\u002Fnitro":158},{"id":4,"title":5,"acronym":6,"body":7,"category":139,"description":140,"difficulty":141,"extension":142,"letter":143,"meta":144,"navigation":145,"path":146,"related":147,"seo":152,"sitemap":153,"stem":156,"subcategory":6,"__hash__":157},"terms\u002Fterms\u002Fn\u002Fnitro.md","Nitro",null,{"type":8,"value":9,"toc":133},"minimark",[10,15,19,23,26,30,122,126,129],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 - The Vibe Check",[16,17,18],"p",{},"Nitro is the server engine humming quietly under the hood of Nuxt, and increasingly other frameworks too. You write API routes and server logic once, and Nitro figures out how to run that same code on Node, Deno, Cloudflare Workers, or Vercel Edge, without you rewriting anything. It's the universal adapter that makes deploy anywhere actually true.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"Nitro is an open source, framework agnostic server toolkit that powers Nuxt's server layer, providing file based API routes, auto imports, and a unified runtime abstraction over Node.js, Deno, Bun, and edge platforms like Cloudflare Workers and Vercel Edge. It compiles server code into deployment specific builds via presets, so the same codebase targets multiple hosting providers without manual adaptation.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F server\u002Fapi\u002Fhello.ts (Nitro auto-registers this route)\nexport default defineEventHandler((event) => {\n  return { message: 'Hello from Nitro' }\n})\n","typescript","",[38,39,40,49,84,113],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","\u002F\u002F server\u002Fapi\u002Fhello.ts (Nitro auto-registers this route)\n",[41,50,52,56,59,63,67,70,74,77,81],{"class":43,"line":51},2,[41,53,55],{"class":54},"s7zQu","export",[41,57,58],{"class":54}," default",[41,60,62],{"class":61},"s2Zo4"," defineEventHandler",[41,64,66],{"class":65},"sTEyZ","(",[41,68,66],{"class":69},"sMK4o",[41,71,73],{"class":72},"sHdIc","event",[41,75,76],{"class":69},")",[41,78,80],{"class":79},"spNyl"," =>",[41,82,83],{"class":69}," {\n",[41,85,87,90,93,97,100,103,107,110],{"class":43,"line":86},3,[41,88,89],{"class":54},"  return",[41,91,92],{"class":69}," {",[41,94,96],{"class":95},"swJcz"," message",[41,98,99],{"class":69},":",[41,101,102],{"class":69}," '",[41,104,106],{"class":105},"sfazB","Hello from Nitro",[41,108,109],{"class":69},"'",[41,111,112],{"class":69}," }\n",[41,114,116,119],{"class":43,"line":115},4,[41,117,118],{"class":69},"}",[41,120,121],{"class":65},")\n",[11,123,125],{"id":124},"when-youll-hear-this","When You'll Hear This",[16,127,128],{},"\"Switching hosts was a one line preset change since we're on Nitro.\" \u002F \"Nitro's auto imported server utils saved us from writing the same fetch wrapper twice.\"",[130,131,132],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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);}",{"title":36,"searchDepth":51,"depth":51,"links":134},[135,136,137,138],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":124,"depth":51,"text":125},"frontend","Nitro is the server engine humming quietly under the hood of Nuxt, and increasingly other frameworks too.","intermediate","md","n",{},true,"\u002Fterms\u002Fn\u002Fnitro",[148,149,150,151],"Nuxt","Edge Runtime","Cloudflare Workers","Serverless Functions",{"title":5,"description":140},{"changefreq":154,"priority":155},"weekly",0.7,"terms\u002Fn\u002Fnitro","qCUjJu5rEi9KQKL7BYSEI13knxnHfHHKyaDOE7AcaCE",[159,163,167,170],{"title":150,"path":160,"acronym":6,"category":161,"difficulty":141,"description":162},"\u002Fterms\u002Fc\u002Fcloudflare-workers","cloud","Workers run JavaScript at the edge — on Cloudflare's network of 300+ data centers worldwide. Your code executes in milliseconds, right next to the user.",{"title":149,"path":164,"acronym":6,"category":161,"difficulty":165,"description":166},"\u002Fterms\u002Fe\u002Fedge-runtime","advanced","Edge Runtime is like having tiny copies of your server scattered around the world in every city, so your code runs right next to the user instead of in som",{"title":148,"path":168,"acronym":6,"category":139,"difficulty":141,"description":169},"\u002Fterms\u002Fn\u002Fnuxt","Nuxt is Vue on steroids. It's a meta-framework that adds SSR, SSG, file-based routing, auto-imports, and a full deployment pipeline on top of Vue.",{"title":151,"path":171,"acronym":6,"category":161,"difficulty":172,"description":173},"\u002Fterms\u002Fs\u002Fserverless-functions","beginner","Serverless functions are snippets of code that run in the cloud without you managing any servers.",1792528103035]