Bun home pageInstall BunRuntimePackage ManagerBundlerTest RunnerGuidesReferenceBlogFeedbackGuidesDeploy on VercelDeploy on RailwayDeploy on RenderDeploy on AWS LambdaDeploy on DigitalOceanDeploy on Google Cloud RunTypeScript typesRe-map import pathsVS Code debuggerWeb debuggerHeap snapshotsBuild-time constantsDefine constantsGitHub ActionsCodesign on macOSUpgrade BunDetect BunGet Bun versionHash passwordGenerate UUIDBase64 encodingGzip compressionDEFLATE compressionEscape HTMLDeep equalitySleepFile URL to pathPath to file URLFind executable pathimport.meta.dirimport.meta.fileimport.meta.pathCheck entrypointGet entrypoint pathAstro with BunDiscord.js with BunDocker with BunDrizzle with BunGel with BunElysia with BunExpress with BunHono with BunMongoose with BunNeon Drizzle with BunNeon Serverless Postgres with BunNext.js with BunNuxt with BunPM2 with BunPrisma ORM with BunPrisma Postgres with BunQwik with BunReact with BunRemix with BunTanStack Start with BunSentry with BunSolidStart with BunSSR React with BunStricJS with BunSvelteKit with Bunsystemd with BunVite with BunUpstash with BunHTTP Server with BunSimple HTTP Server with BunFetch with BunHot reload an HTTP serverStart a cluster of HTTP serversConfigure TLSProxy HTTP requests using fetch()Stream file responseUpload files via HTTP using FormDataFetch with unix domain socketsStream with iteratorsServer-Sent EventsStream with Node.jsSimple serverPub-sub serverContextual dataEnable compressionSpawn child processRead stdoutRead stderrParse command-line argumentsRead from stdinSpawn a child process and communicate using IPCListen for CTRL+COS signalsProcess uptimeRun shell commandSet time zoneSet env variablesRead env variablesAdd a dependencyAdd a dev dependencyAdd an optional dependencyAdd a peer dependencyAdd a Git dependencyAdd a tarball dependencyInstall with aliasWorkspaces with BunOverride the default npm registryConfigure a scoped registryAzure Artifacts with BunJFrog Artifactory with BunAdd a trusted dependencyGenerate a yarn-compatible lockfileMigrate from npm to bunConfigure git to diff Bun's lockfileInstall Bun in GitHub ActionsRun testsWatch modeMigrate from JestMock functionsSpy on methodsMock system timeSnapshot testingUpdate snapshotsCoverage reportsCoverage thresholdConcurrent test globSkip testsTodo testsTest timeoutBail earlyRe-run testsTesting LibraryDOM testsTest SvelteVS Code debuggerWeb debuggerHeap snapshotsBuild-time constantsDefine constantsGitHub ActionsCodesign on macOSImport JSONImport TOMLImport YAMLImport JSON5Import HTMLimport.meta.dirimport.meta.fileimport.meta.pathCheck entrypointGet entrypoint pathRead as stringRead to BufferRead to Uint8ArrayRead to ArrayBufferRead JSON fileGet MIME typeCheck file existsWatch directoryRead as streamWrite string to fileWrite BlobWrite ResponseAppend to fileIncremental writeWrite streamWrite to stdoutWrite file to stdoutCopy fileDelete fileDelete filesDelete directoriesHash passwordGenerate UUIDBase64 encodingGzip compressionDEFLATE compressionEscape HTMLDeep equalitySleepFile URL to pathPath to file URLFind executable pathExtract links using HTMLRewriterOpenGraph tagsArrayBuffer to stringArrayBuffer to BufferArrayBuffer to BlobArrayBuffer to ArrayArrayBuffer to Uint8ArrayBuffer to stringBuffer to ArrayBufferBuffer to BlobBuffer to Uint8ArrayBuffer to ReadableStreamBlob to stringBlob to ArrayBufferBlob to Uint8ArrayBlob to DataViewBlob to ReadableStreamUint8Array to stringUint8Array to ArrayBufferUint8Array to BufferUint8Array to BlobUint8Array to DataViewUint8Array to ReadableStreamDataView to stringStream to stringStream to JSONStream to BlobStream to BufferStream to ArrayBufferStream to Uint8ArrayStream to arrayReadable to stringReadable to JSONReadable to BlobReadable to Uint8ArrayReadable to ArrayBufferBun.write()Docs > API > File I/OSuggest editsRaise issueWrite to stdoutPreviousCopy a file to another locationNextxgithubdiscordyoutubePowered byThis documentation is built and hosted on Mintlify, a developer documentation platform
智能索引记录
-
2026-03-26 18:47:51
综合导航
成功
标题:Multi-Brand Service Request (FastQuote) Tektronix
简介:Request Instrument Calibration quote for Tektronix, Keithley
-
2026-03-26 18:07:23
旅游出行
成功
标题:管理系统详解之人事篇(4)_阿提拉全面战争 人事职务系统图文详解攻略 哪些职业_3DM单机
简介:《阿提拉全面战争》人事职务系统图文详解攻略,哪些职业。一、综述:1. 重要职务:将军(Generals)和舰队司令(Ad
-
2026-03-26 18:14:36
数码科技
成功
标题:比白发更可怕的是“中国式大爷发型”,自以为时髦,实际油腻土气 减龄 发型 白发 短发 银发_手机网易网
简介:我爸上周去剪头,回来像顶着两撇拖把,我妈直接让他睡沙发。78%的中国大爷还在玩“倒栽葱”,把仅剩的几根长寿丝留长,横搭在
-
2026-04-06 10:29:09
综合导航
成功
标题:LG Software y Firmware LG Centroamérica y el Caribe
简介:LG Software y Firmware : Optimizar su producto con drivers y
-
2026-04-02 16:32:10
数码科技
成功
标题:莫迪站错队后,抢了原本要运往中国的俄罗斯油,中国却丝毫不慌? 中国 俄罗斯 沙特 莫迪足球会_手机网易网
简介:事情的导火索是一艘叫“AquaTitan”号的俄罗斯油轮。这是一艘阿芙拉型油轮,肚子里装了大概11万吨的俄罗斯乌拉尔原油