[{"data":1,"prerenderedAt":188,"buildId":189},["ShallowReactive",2],{"page:\u002Fdocs\u002F5.x\u002Fcommunity\u002Ffaq":3},{"id":4,"title":5,"body":6,"description":171,"extension":172,"frontmatter":173,"heading":178,"meta":179,"navigation":181,"order":168,"path":182,"seo":183,"sitemap":184,"source":185,"stem":186,"__hash__":187},"docs\u002Fdocs\u002F5.x\u002Fcommunity\u002Ffaq.md","Kubb FAQ - Production use and compatibility",{"type":7,"value":8,"toc":163},"minimark",[9,24,29,60,64,129,133],[10,11,12,13,18,19,23],"p",{},"Not here? Ask on ",[14,15,17],"a",{"href":16},"https:\u002F\u002Fdiscord.gg\u002FshfBFeczrm","Discord"," or open a ",[14,20,22],{"href":21},"https:\u002F\u002Fgithub.com\u002Fkubb-labs\u002Fkubb\u002Fissues","GitHub issue",".",[25,26,28],"h2",{"id":27},"general","General",[30,31,32,43],"accordion",{},[33,34,37,38,42],"accordion-item",{"label":35,"icon":36},"Is Kubb production-ready?","i-iconoir-help-circle","Yes. The generated code is plain TypeScript, with no runtime dependency on Kubb and no decorators. ",[14,39,41],{"href":40},"\u002Fdocs\u002F5.x\u002Ftutorials\u002Fquickstart","Generate your first client"," shows the output.",[33,44,46,47,51,52,55,56,23],{"label":45,"icon":36},"How do I turn off telemetry?","Set ",[48,49,50],"code",{},"DO_NOT_TRACK=1"," or ",[48,53,54],{},"KUBB_DISABLE_TELEMETRY=1",". See ",[14,57,59],{"href":58},"\u002Fdocs\u002F5.x\u002Freference\u002Ftelemetry","Telemetry",[25,61,63],{"id":62},"compatibility","Compatibility",[30,65,66,78,97,105,121],{},[33,67,69,70,74,75,23],{"label":68,"icon":36},"Does Kubb work with JavaScript projects?","Yes, with a build step. Kubb generates TypeScript, so import the output through a bundler that compiles TypeScript, such as ",[14,71,73],{"href":72},"https:\u002F\u002Fvite.dev","Vite"," or esbuild, or compile it with ",[48,76,77],{},"tsc",[33,79,81,82,86,87,91,92,96],{"label":80,"icon":36},"Can I use Kubb with GraphQL?","Not out of the box. The default ",[14,83,85],{"href":84},"\u002Fdocs\u002F5.x\u002Fintroduction\u002Farchitecture#adapters","adapter"," reads OpenAPI and Swagger, so use ",[14,88,90],{"href":89},"https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen","GraphQL Code Generator"," for GraphQL. A ",[14,93,95],{"href":94},"\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fadapters","custom adapter"," can read any format, but takes real work.",[33,98,100,101,23],{"label":99,"icon":36},"Which Node.js version do I need?","Node.js 22.22 or later. The CLI and the config file are ESM. See ",[14,102,104],{"href":103},"\u002Fdocs\u002F5.x\u002Fintroduction\u002Finstallation#prerequisites","Installation",[33,106,108,109,111,112,115,116,118,119,23],{"label":107,"icon":36},"Does Kubb work with TypeScript 7?","Yes. Kubb builds and type-checks with TypeScript 7, and the code it generates type-checks with ",[48,110,77],{}," 7. Install ",[48,113,114],{},"typescript@7"," and run ",[48,117,77],{}," as before. See ",[14,120,104],{"href":103},[33,122,124,125,128],{"label":123,"icon":36},"Does Kubb run on Bun or Deno?","On Bun, yes. The CLI and the generated code need no extra setup. Use the Bun commands in ",[14,126,104],{"href":127},"\u002Fdocs\u002F5.x\u002Fintroduction\u002Finstallation",". Deno is not tested.",[25,130,132],{"id":131},"generated-code","Generated code",[30,134,135,149],{},[33,136,138,139,115,142,148],{"label":137,"icon":36},"Do I commit generated files to Git?","Either works. Commit the output so CI can skip generation, or add the output folder to ",[48,140,141],{},".gitignore",[14,143,145],{"href":144},"\u002Fdocs\u002F5.x\u002Freference\u002Fcommands\u002Fgenerate",[48,146,147],{},"kubb generate"," in CI.",[33,150,152,153,157,158,162],{"label":151,"icon":36},"Can Kubb generate during my build or in CI?","Yes. ",[14,154,156],{"href":155},"\u002Fdocs\u002F5.x\u002Fintegrations\u002Fbuild-tools","Build tool plugins"," generate when Vite, webpack, or another bundler builds. ",[14,159,161],{"href":160},"\u002Fdocs\u002F5.x\u002Fintegrations\u002Fci","CI snapshots"," publish the output of each pull request as an installable package.",{"title":164,"searchDepth":165,"depth":165,"links":166},"",5,[167,169,170],{"id":27,"depth":168,"text":28},2,{"id":62,"depth":168,"text":63},{"id":131,"depth":168,"text":132},"Answers to common questions about Kubb, covering production use, telemetry, compatibility, and generated code.","md",{"layout":174,"title":5,"description":171,"outline":175,"order":168,"navigation":177},"doc",[168,176],3,{"title":178,"icon":36},"FAQ",{"layout":174,"outline":180},[168,176],{"title":178,"icon":36},"\u002Fdocs\u002F5.x\u002Fcommunity\u002Ffaq",{"title":5,"description":171},{"loc":182},"kubb-labs\u002Fkubb\u002Fdocs\u002F5.x\u002Fcommunity\u002Ffaq.md","docs\u002F5.x\u002Fcommunity\u002Ffaq","drQ-AsYI52hoNIzOQMsF2e4ru0jw-8k1NseGI2ppf6w",1795727672658,"1b64b1eb-29b7-4f90-ad41-6f24721e1669"]