[{"data":1,"prerenderedAt":211,"buildId":212},["ShallowReactive",2],{"\u002Fguides\u002Ffaq":3,"\u002Fguides\u002Ffaq-surround":107,"navigation":118},{"id":4,"title":5,"body":6,"description":98,"extension":99,"links":100,"meta":101,"navigation":102,"path":103,"seo":104,"stem":105,"__hash__":106},"docs\u002F4.guides\u002F4.faq.md","Frequently asked questions",{"type":7,"value":8,"toc":93},"minimark",[9,13],[10,11,5],"h1",{"id":12},"frequently-asked-questions",[14,15,16,29,35,45,51,61,71,77,83],"accordion",{},[17,18,21],"accordion-item",{"icon":19,"label":20},"i-lucide-circle-help","Why not use process directly?",[22,23,24,28],"p",{},[25,26,27],"code",{},"process"," is appropriate for Node-only projects. The adapter is useful when the same code must also run in Bun, Deno, workerd, or a browser.",[17,30,32],{"icon":19,"label":31},"Why are Bun and Deno not detected as Node.js?",[22,33,34],{},"They expose some Node-compatible APIs, but their permissions, globals, and execution models differ. Their markers are checked first.",[17,36,38],{"icon":19,"label":37},"Why can version be undefined?",[22,39,40,41,44],{},"Browsers and workerd do not always expose a reliable runtime version. ",[25,42,43],{},"undefined"," is safer than fragile user-agent parsing.",[17,46,48],{"icon":19,"label":47},"Does a capability guarantee that an operation will work?",[22,49,50],{},"No. Permissions, network policies, sandboxes, and invalid input may still make an operation fail.",[17,52,54],{"icon":19,"label":53},"Why does getEnv() return a copy?",[22,55,56,57,60],{},"This prevents callers from accidentally modifying the native environment object. Read one value with ",[25,58,59],{},"getEnv('NAME')",".",[17,62,64],{"icon":19,"label":63},"Does withTimeout() cancel the original promise?",[22,65,66,67,70],{},"No. JavaScript cannot arbitrarily cancel a promise. Pass an ",[25,68,69],{},"AbortSignal"," to operations that support cancellation.",[17,72,74],{"icon":19,"label":73},"Why does oruntime not provide HTTP servers, fs, or path?",[22,75,76],{},"Native APIs and specialized libraries already cover these areas. Wrapping them would expand maintenance without a clear portable contract.",[17,78,80],{"icon":19,"label":79},"Are cryptography and encoding supported?",[22,81,82],{},"Not currently. Use native APIs or specialized libraries; these domains are only roadmap candidates.",[17,84,86],{"icon":19,"label":85},"Does CommonJS work?",[22,87,88,89,92],{},"The package is ESM-only. Use ",[25,90,91],{},"import"," or a dynamic import from a compatible CommonJS project.",{"title":94,"searchDepth":95,"depth":96,"links":97},"",1,2,[],"Answers to common questions about oruntime's scope and behavior.","md",null,{},true,"\u002Fguides\u002Ffaq",{"title":5,"description":98},"4.guides\u002F4.faq","cJKqUBLMp9zq8GOIkc0Gv3tgncYD-V5RoQU9c0Wn59I",[108,113],{"title":109,"path":110,"stem":111,"description":112,"children":-1},"Testing multiple runtimes","\u002Fguides\u002Ftesting","4.guides\u002F3.testing","Test detection and conditional branches without modifying process globals.",{"title":114,"path":115,"stem":116,"description":117,"children":-1},"API reference","\u002Freference\u002Fapi","5.reference\u002F1.api","Signatures and contracts for every public oruntime API.",[119,139,162,180,196],{"title":120,"path":121,"stem":122,"children":123,"icon":138},"Getting started","\u002Fgetting-started","1.getting-started\u002F1.index",[124,126,130,134],{"title":125,"path":121,"stem":122},"Introduction",{"title":127,"path":128,"stem":129},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":131,"path":132,"stem":133},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",{"title":135,"path":136,"stem":137},"Runtime support","\u002Fgetting-started\u002Fruntime-support","1.getting-started\u002F4.runtime-support","i-lucide-rocket",{"title":140,"icon":141,"path":142,"stem":143,"children":144,"page":161},"Core concepts","i-lucide-box","\u002Fcore-concepts","2.core-concepts",[145,149,153,157],{"title":146,"path":147,"stem":148},"Runtime detection","\u002Fcore-concepts\u002Fruntime-detection","2.core-concepts\u002F1.runtime-detection",{"title":150,"path":151,"stem":152},"Runtime adapter","\u002Fcore-concepts\u002Fruntime-adapter","2.core-concepts\u002F2.runtime-adapter",{"title":154,"path":155,"stem":156},"Capabilities","\u002Fcore-concepts\u002Fcapabilities","2.core-concepts\u002F3.capabilities",{"title":158,"path":159,"stem":160},"Error handling","\u002Fcore-concepts\u002Ferrors","2.core-concepts\u002F4.errors",false,{"title":163,"icon":164,"path":165,"stem":166,"children":167,"page":161},"Utilities","i-lucide-wrench","\u002Futilities","3.utilities",[168,172,176],{"title":169,"path":170,"stem":171},"Fetch","\u002Futilities\u002Ffetch","3.utilities\u002F1.fetch",{"title":173,"path":174,"stem":175},"Timers","\u002Futilities\u002Ftimers","3.utilities\u002F2.timers",{"title":177,"path":178,"stem":179},"URL","\u002Futilities\u002Furl","3.utilities\u002F3.url",{"title":181,"icon":182,"path":183,"stem":184,"children":185,"page":161},"Guides","i-lucide-graduation-cap","\u002Fguides","4.guides",[186,190,194,195],{"title":187,"path":188,"stem":189},"Deno permissions","\u002Fguides\u002Fdeno-permissions","4.guides\u002F1.deno-permissions",{"title":191,"path":192,"stem":193},"Conditional code","\u002Fguides\u002Fconditional-code","4.guides\u002F2.conditional-code",{"title":109,"path":110,"stem":111},{"title":5,"path":103,"stem":105},{"title":197,"icon":198,"path":199,"stem":200,"children":201,"page":161},"Reference","i-lucide-book-open","\u002Freference","5.reference",[202,203,207],{"title":114,"path":115,"stem":116},{"title":204,"path":205,"stem":206},"Scope and design decisions","\u002Freference\u002Fscope","5.reference\u002F2.scope",{"title":208,"path":209,"stem":210},"Roadmap","\u002Freference\u002Froadmap","5.reference\u002F3.roadmap",1796297155319,"7c446e43-2e3e-4ee5-9931-1c6979897184"]