[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-358":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},358,"bun","oven-sh\u002Fbun","oven-sh","Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one","https:\u002F\u002Fbun.com",null,"Rust",93268,4711,623,5139,0,56,269,1691,237,120,"Other",false,"main",[5,26,27,28,29,30,31,32,33,34,35,36],"bundler","javascript","javascriptcore","jsx","nodejs","npm","react","transpiler","typescript","zig","ziglang","2026-06-17 04:00:02","\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fbun.com\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F50282090-adfd-4ddb-9e27-c30753c6b161\" alt=\"Logo\" height=170>\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Ch1 align=\"center\">Bun\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n\u003Ca href=\"https:\u002F\u002Fbun.com\u002Fdiscord\" target=\"_blank\">\u003Cimg height=20 src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F876711213126520882\" \u002F>\u003C\u002Fa>\n\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Foven-sh\u002Fbun\" alt=\"stars\">\n\u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fjarredsumner\u002Fstatus\u002F1542824445810642946\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fstatic\u002Fv1?label=speed&message=fast&color=success\" alt=\"Bun speed\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cdiv align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fbun.com\u002Fdocs\">Documentation\u003C\u002Fa>\n  \u003Cspan>&nbsp;&nbsp;•&nbsp;&nbsp;\u003C\u002Fspan>\n  \u003Ca href=\"https:\u002F\u002Fbun.com\u002Fdiscord\">Discord\u003C\u002Fa>\n  \u003Cspan>&nbsp;&nbsp;•&nbsp;&nbsp;\u003C\u002Fspan>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Foven-sh\u002Fbun\u002Fissues\u002Fnew\">Issues\u003C\u002Fa>\n  \u003Cspan>&nbsp;&nbsp;•&nbsp;&nbsp;\u003C\u002Fspan>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Foven-sh\u002Fbun\u002Fissues\u002F159\">Roadmap\u003C\u002Fa>\n  \u003Cbr \u002F>\n\u003C\u002Fdiv>\n\n### [Read the docs →](https:\u002F\u002Fbun.com\u002Fdocs)\n\n## What is Bun?\n\nBun is an all-in-one toolkit for JavaScript and TypeScript apps. It ships as a single executable called `bun`.\n\nAt its core is the _Bun runtime_, a fast JavaScript runtime designed as **a drop-in replacement for Node.js**. It's written in Zig and powered by JavaScriptCore under the hood, dramatically reducing startup times and memory usage.\n\n```bash\nbun run index.tsx             # TS and JSX supported out-of-the-box\n```\n\nThe `bun` command-line tool also implements a test runner, script runner, and Node.js-compatible package manager. Instead of 1,000 node_modules for development, you only need `bun`. Bun's built-in tools are significantly faster than existing options and usable in existing Node.js projects with little to no changes.\n\n```bash\nbun test                      # run tests\nbun run start                 # run the `start` script in `package.json`\nbun install \u003Cpkg>             # install a package\nbunx cowsay 'Hello, world!'   # execute a package\n```\n\n## Install\n\nBun supports Linux (x64 & arm64), macOS (x64 & Apple Silicon), and Windows (x64 & arm64).\n\n> **Linux users** — Kernel version 5.6 or higher is strongly recommended, but the minimum is 5.1.\n\n> **x64 users** — if you see \"illegal instruction\" or similar errors, check our [CPU requirements](https:\u002F\u002Fbun.com\u002Fdocs\u002Finstallation#cpu-requirements-and-baseline-builds)\n\n```sh\n# with install script (recommended)\ncurl -fsSL https:\u002F\u002Fbun.com\u002Finstall | bash\n\n# on windows\npowershell -c \"irm bun.sh\u002Finstall.ps1 | iex\"\n\n# with npm\nnpm install -g bun\n\n# with Homebrew\nbrew tap oven-sh\u002Fbun\nbrew install bun\n\n# with Docker\ndocker pull oven\u002Fbun\ndocker run --rm --init --ulimit memlock=-1:-1 oven\u002Fbun\n```\n\n### Upgrade\n\nTo upgrade to the latest version of Bun, run:\n\n```sh\nbun upgrade\n```\n\nBun automatically releases a canary build on every commit to `main`. To upgrade to the latest canary build, run:\n\n```sh\nbun upgrade --canary\n```\n\n[View canary build](https:\u002F\u002Fgithub.com\u002Foven-sh\u002Fbun\u002Freleases\u002Ftag\u002Fcanary)\n\n## Quick links\n\n- Intro\n  - [What is Bun?](https:\u002F\u002Fbun.com\u002Fdocs\u002Findex)\n  - [Installation](https:\u002F\u002Fbun.com\u002Fdocs\u002Finstallation)\n  - [Quickstart](https:\u002F\u002Fbun.com\u002Fdocs\u002Fquickstart)\n  - [TypeScript](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftypescript)\n  - [TypeScript 6](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftypescript-6)\n\n- Templating\n  - [`bun init`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Ftemplating\u002Finit)\n  - [`bun create`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Ftemplating\u002Fcreate)\n\n- Runtime\n  - [`bun run`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Findex)\n  - [File types (Loaders)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Ffile-types)\n  - [JSX](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fjsx)\n  - [Environment variables](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fenvironment-variables)\n  - [Bun APIs](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fbun-apis)\n  - [Web APIs](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fweb-apis)\n  - [Node.js compatibility](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fnodejs-compat)\n  - [Plugins](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fplugins)\n  - [Watch mode \u002F Hot Reloading](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fwatch-mode)\n  - [Module resolution](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fmodule-resolution)\n  - [Auto-install](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fauto-install)\n  - [bunfig.toml](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fbunfig)\n  - [Debugger](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fdebugger)\n  - [REPL](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Frepl)\n  - [$ Shell](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fshell)\n\n- Package manager\n  - [`bun install`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Finstall)\n  - [`bun add`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Fadd)\n  - [`bun remove`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Fremove)\n  - [`bun update`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Fupdate)\n  - [`bun link`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Flink)\n  - [`bun pm`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Fpm)\n  - [`bun outdated`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Foutdated)\n  - [`bun publish`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Fpublish)\n  - [`bun patch`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Fpatch)\n  - [`bun why`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Fwhy)\n  - [`bun audit`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Faudit)\n  - [`bun info`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcli\u002Finfo)\n  - [Global cache](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fglobal-cache)\n  - [Global store](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fglobal-store)\n  - [Isolated installs](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fisolated-installs)\n  - [Workspaces](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fworkspaces)\n  - [Catalogs](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fcatalogs)\n  - [Lifecycle scripts](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Flifecycle)\n  - [Filter](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Ffilter)\n  - [Lockfile](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Flockfile)\n  - [Scopes and registries](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fscopes-registries)\n  - [Overrides and resolutions](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Foverrides)\n  - [Security scanner API](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fsecurity-scanner-api)\n  - [`.npmrc`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fnpmrc)\n\n- Bundler\n  - [`Bun.build`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Findex)\n  - [Loaders](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Floaders)\n  - [Plugins](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Fplugins)\n  - [Macros](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Fmacros)\n  - [vs esbuild](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Fesbuild)\n  - [Single-file executable](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Fexecutables)\n  - [CSS](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Fcss)\n  - [HTML & static sites](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Fhtml-static)\n  - [Hot Module Replacement (HMR)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Fhot-reloading)\n  - [Full-stack with HTML imports](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Ffullstack)\n  - [Standalone HTML](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Fstandalone-html)\n  - [Bytecode caching](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Fbytecode)\n  - [Minifier](https:\u002F\u002Fbun.com\u002Fdocs\u002Fbundler\u002Fminifier)\n\n- Test runner\n  - [`bun test`](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Findex)\n  - [Writing tests](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Fwriting-tests)\n  - [Lifecycle hooks](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Flifecycle)\n  - [Mocks](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Fmocks)\n  - [Snapshots](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Fsnapshots)\n  - [Dates and times](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Fdates-times)\n  - [DOM testing](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Fdom)\n  - [Code coverage](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Fcode-coverage)\n  - [Configuration](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Fconfiguration)\n  - [Discovery](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Fdiscovery)\n  - [Reporters](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Freporters)\n  - [Runtime Behavior](https:\u002F\u002Fbun.com\u002Fdocs\u002Ftest\u002Fruntime-behavior)\n\n- Package runner\n  - [`bunx`](https:\u002F\u002Fbun.com\u002Fdocs\u002Fpm\u002Fbunx)\n\n- API\n  - [HTTP server (`Bun.serve`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fhttp\u002Fserver)\n  - [HTTP routing](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fhttp\u002Frouting)\n  - [HTTP error handling](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fhttp\u002Ferror-handling)\n  - [HTTP metrics](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fhttp\u002Fmetrics)\n  - [WebSockets](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fhttp\u002Fwebsockets)\n  - [Workers](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fworkers)\n  - [Binary data](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fbinary-data)\n  - [Streams](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fstreams)\n  - [File I\u002FO (`Bun.file`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Ffile-io)\n  - [Archive (tar)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Farchive)\n  - [SQLite (`bun:sqlite`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fsqlite)\n  - [PostgreSQL (`Bun.sql`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fsql)\n  - [Redis (`Bun.redis`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fredis)\n  - [S3 Client (`Bun.s3`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fs3)\n  - [FileSystemRouter](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Ffile-system-router)\n  - [TCP sockets](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fnetworking\u002Ftcp)\n  - [UDP sockets](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fnetworking\u002Fudp)\n  - [Globals](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fglobals)\n  - [Child processes (spawn)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fchild-process)\n  - [Cron (`Bun.cron`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fcron)\n  - [WebView](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fwebview)\n  - [Transpiler (`Bun.Transpiler`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Ftranspiler)\n  - [Hashing](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fhashing)\n  - [Colors (`Bun.color`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fcolor)\n  - [Console](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fconsole)\n  - [FFI (`bun:ffi`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fffi)\n  - [C Compiler (`bun:ffi` cc)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fc-compiler)\n  - [HTMLRewriter](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fhtml-rewriter)\n  - [Cookies (`Bun.Cookie`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fcookies)\n  - [CSRF (`Bun.CSRF`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fcsrf)\n  - [Secrets (`Bun.secrets`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fsecrets)\n  - [YAML (`Bun.YAML`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fyaml)\n  - [TOML (`Bun.TOML`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Ftoml)\n  - [JSON5](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fjson5)\n  - [JSONL](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fjsonl)\n  - [Markdown](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fmarkdown)\n  - [Image processing](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fimage)\n  - [Utils](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Futils)\n  - [Node-API](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fnode-api)\n  - [Glob (`Bun.Glob`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fglob)\n  - [Semver (`Bun.semver`)](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fsemver)\n  - [DNS](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fnetworking\u002Fdns)\n  - [fetch API extensions](https:\u002F\u002Fbun.com\u002Fdocs\u002Fruntime\u002Fnetworking\u002Ffetch)\n\n## Guides\n\n- Deployment\n  - [Deploy to Vercel](https:\u002F\u002Fbun.com\u002Fguides\u002Fdeployment\u002Fvercel)\n  - [Deploy to Railway](https:\u002F\u002Fbun.com\u002Fguides\u002Fdeployment\u002Frailway)\n  - [Deploy to Render](https:\u002F\u002Fbun.com\u002Fguides\u002Fdeployment\u002Frender)\n  - [Deploy to AWS Lambda](https:\u002F\u002Fbun.com\u002Fguides\u002Fdeployment\u002Faws-lambda)\n  - [Deploy to DigitalOcean](https:\u002F\u002Fbun.com\u002Fguides\u002Fdeployment\u002Fdigital-ocean)\n  - [Deploy to Google Cloud Run](https:\u002F\u002Fbun.com\u002Fguides\u002Fdeployment\u002Fgoogle-cloud-run)\n\n- Binary\n  - [Convert a Blob to a string](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fblob-to-string)\n  - [Convert a Buffer to a blob](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fbuffer-to-blob)\n  - [Convert a Blob to a DataView](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fblob-to-dataview)\n  - [Convert a Buffer to a string](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fbuffer-to-string)\n  - [Convert a Blob to a ReadableStream](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fblob-to-stream)\n  - [Convert a Blob to a Uint8Array](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fblob-to-typedarray)\n  - [Convert a DataView to a string](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fdataview-to-string)\n  - [Convert a Uint8Array to a Blob](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Ftypedarray-to-blob)\n  - [Convert a Blob to an ArrayBuffer](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fblob-to-arraybuffer)\n  - [Convert an ArrayBuffer to a Blob](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Farraybuffer-to-blob)\n  - [Convert a Buffer to a Uint8Array](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fbuffer-to-typedarray)\n  - [Convert a Uint8Array to a Buffer](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Ftypedarray-to-buffer)\n  - [Convert a Uint8Array to a string](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Ftypedarray-to-string)\n  - [Convert a Buffer to an ArrayBuffer](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fbuffer-to-arraybuffer)\n  - [Convert an ArrayBuffer to a Buffer](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Farraybuffer-to-buffer)\n  - [Convert an ArrayBuffer to a string](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Farraybuffer-to-string)\n  - [Convert a Uint8Array to a DataView](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Ftypedarray-to-dataview)\n  - [Convert a Buffer to a ReadableStream](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Fbuffer-to-readablestream)\n  - [Convert a Uint8Array to an ArrayBuffer](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Ftypedarray-to-arraybuffer)\n  - [Convert an ArrayBuffer to a Uint8Array](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Farraybuffer-to-typedarray)\n  - [Convert an ArrayBuffer to an array of numbers](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Farraybuffer-to-array)\n  - [Convert a Uint8Array to a ReadableStream](https:\u002F\u002Fbun.com\u002Fguides\u002Fbinary\u002Ftypedarray-to-readablestream)\n\n- Ecosystem\n  - [Use React and JSX](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Freact)\n  - [Use Gel with Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fgel)\n  - [Use Prisma with Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fprisma)\n  - [Use Prisma Postgres with Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fprisma-postgres)\n  - [Add Sentry to a Bun app](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fsentry)\n  - [Create a Discord bot](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fdiscordjs)\n  - [Run Bun as a daemon with PM2](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fpm2)\n  - [Use Drizzle ORM with Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fdrizzle)\n  - [Use Upstash Redis with Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fupstash)\n  - [Build an app with Nuxt and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fnuxt)\n  - [Build an app with Qwik and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fqwik)\n  - [Build an app with Astro and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fastro)\n  - [Build an app with Remix and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fremix)\n  - [Build a frontend using Vite and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fvite)\n  - [Build an app with Next.js and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fnextjs)\n  - [Run Bun as a daemon with systemd](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fsystemd)\n  - [Build an HTTP server using Hono and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fhono)\n  - [Build an app with SvelteKit and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fsveltekit)\n  - [Build an app with SolidStart and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fsolidstart)\n  - [Build an app with TanStack Start and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Ftanstack-start)\n  - [Build an HTTP server using Elysia and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Felysia)\n  - [Build an HTTP server using StricJS and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fstric)\n  - [Containerize a Bun application with Docker](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fdocker)\n  - [Build an HTTP server using Express and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fexpress)\n  - [Use Neon Postgres through Drizzle ORM](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fneon-drizzle)\n  - [Server-side render (SSR) a React component](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fssr-react)\n  - [Read and write data to MongoDB using Mongoose and Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fmongoose)\n  - [Use Neon's Serverless Postgres with Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fecosystem\u002Fneon-serverless-postgres)\n\n- HTMLRewriter\n  - [Extract links from a webpage using HTMLRewriter](https:\u002F\u002Fbun.com\u002Fguides\u002Fhtml-rewriter\u002Fextract-links)\n  - [Extract social share images and Open Graph tags](https:\u002F\u002Fbun.com\u002Fguides\u002Fhtml-rewriter\u002Fextract-social-meta)\n\n- HTTP\n  - [Hot reload an HTTP server](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Fhot)\n  - [Common HTTP server usage](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Fserver)\n  - [Write a simple HTTP server](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Fsimple)\n  - [Configure TLS on an HTTP server](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Ftls)\n  - [Send an HTTP request using fetch](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Ffetch)\n  - [Proxy HTTP requests using fetch()](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Fproxy)\n  - [Start a cluster of HTTP servers](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Fcluster)\n  - [Stream a file as an HTTP Response](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Fstream-file)\n  - [fetch with unix domain sockets in Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Ffetch-unix)\n  - [Upload files via HTTP using FormData](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Ffile-uploads)\n  - [Streaming HTTP Server with Async Iterators](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Fstream-iterator)\n  - [Streaming HTTP Server with Node.js Streams](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Fstream-node-streams-in-bun)\n  - [Server-Sent Events (SSE) with Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fhttp\u002Fsse)\n\n- Install\n  - [Add a dependency](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fadd)\n  - [Add a Git dependency](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fadd-git)\n  - [Add a peer dependency](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fadd-peer)\n  - [Add a trusted dependency](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Ftrusted)\n  - [Add a development dependency](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fadd-dev)\n  - [Add a tarball dependency](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fadd-tarball)\n  - [Add an optional dependency](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fadd-optional)\n  - [Generate a yarn-compatible lockfile](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fyarnlock)\n  - [Configuring a monorepo using workspaces](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fworkspaces)\n  - [Install a package under a different name](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fnpm-alias)\n  - [Install dependencies with Bun in GitHub Actions](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fcicd)\n  - [Using bun install with Artifactory](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fjfrog-artifactory)\n  - [Configure git to diff Bun's lockb lockfile](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fgit-diff-bun-lockfile)\n  - [Override the default npm registry for bun install](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fcustom-registry)\n  - [Using bun install with an Azure Artifacts npm registry](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fazure-artifacts)\n  - [Migrate from npm install to bun install](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Ffrom-npm-install-to-bun-install)\n  - [Configure a private registry for an organization scope with bun install](https:\u002F\u002Fbun.com\u002Fguides\u002Finstall\u002Fregistry-scope)\n\n- Process\n  - [Read from stdin](https:\u002F\u002Fbun.com\u002Fguides\u002Fprocess\u002Fstdin)\n  - [Listen for CTRL+C](https:\u002F\u002Fbun.com\u002Fguides\u002Fprocess\u002Fctrl-c)\n  - [Spawn a child process](https:\u002F\u002Fbun.com\u002Fguides\u002Fprocess\u002Fspawn)\n  - [Listen to OS signals](https:\u002F\u002Fbun.com\u002Fguides\u002Fprocess\u002Fos-signals)\n  - [Parse command-line arguments](https:\u002F\u002Fbun.com\u002Fguides\u002Fprocess\u002Fargv)\n  - [Read stderr from a child process](https:\u002F\u002Fbun.com\u002Fguides\u002Fprocess\u002Fspawn-stderr)\n  - [Read stdout from a child process](https:\u002F\u002Fbun.com\u002Fguides\u002Fprocess\u002Fspawn-stdout)\n  - [Get the process uptime in nanoseconds](https:\u002F\u002Fbun.com\u002Fguides\u002Fprocess\u002Fnanoseconds)\n  - [Spawn a child process and communicate using IPC](https:\u002F\u002Fbun.com\u002Fguides\u002Fprocess\u002Fipc)\n\n- Read file\n  - [Read a JSON file](https:\u002F\u002Fbun.com\u002Fguides\u002Fread-file\u002Fjson)\n  - [Check if a file exists](https:\u002F\u002Fbun.com\u002Fguides\u002Fread-file\u002Fexists)\n  - [Read a file as a string](https:\u002F\u002Fbun.com\u002Fguides\u002Fread-file\u002Fstring)\n  - [Read a file to a Buffer](https:\u002F\u002Fbun.com\u002Fguides\u002Fread-file\u002Fbuffer)\n  - [Get the MIME type of a file](https:\u002F\u002Fbun.com\u002Fguides\u002Fread-file\u002Fmime)\n  - [Watch a directory for changes](https:\u002F\u002Fbun.com\u002Fguides\u002Fread-file\u002Fwatch)\n  - [Read a file as a ReadableStream](https:\u002F\u002Fbun.com\u002Fguides\u002Fread-file\u002Fstream)\n  - [Read a file to a Uint8Array](https:\u002F\u002Fbun.com\u002Fguides\u002Fread-file\u002Fuint8array)\n  - [Read a file to an ArrayBuffer](https:\u002F\u002Fbun.com\u002Fguides\u002Fread-file\u002Farraybuffer)\n\n- Runtime\n  - [Delete files](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fdelete-file)\n  - [Run a Shell Command](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fshell)\n  - [Import a JSON file](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fimport-json)\n  - [Import a TOML file](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fimport-toml)\n  - [Import a YAML file](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fimport-yaml)\n  - [Import a JSON5 file](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fimport-json5)\n  - [Set a time zone in Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Ftimezone)\n  - [Set environment variables](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fset-env)\n  - [Re-map import paths](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Ftsconfig-paths)\n  - [Delete directories](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fdelete-directory)\n  - [Read environment variables](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fread-env)\n  - [Import a HTML file as text](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fimport-html)\n  - [Install and run Bun in GitHub Actions](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fcicd)\n  - [Debugging Bun with the web debugger](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fweb-debugger)\n  - [Install TypeScript declarations for Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Ftypescript)\n  - [Debugging Bun with the VS Code extension](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fvscode-debugger)\n  - [Inspect memory usage using V8 heap snapshots](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fheap-snapshot)\n  - [Define and replace static globals & constants](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fdefine-constant)\n  - [Build-time constants with --define](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fbuild-time-constants)\n  - [Codesign a single-file JavaScript executable on macOS](https:\u002F\u002Fbun.com\u002Fguides\u002Fruntime\u002Fcodesign-macos-executable)\n\n- Streams\n  - [Convert a ReadableStream to JSON](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fto-json)\n  - [Convert a ReadableStream to a Blob](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fto-blob)\n  - [Convert a ReadableStream to a Buffer](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fto-buffer)\n  - [Convert a ReadableStream to a string](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fto-string)\n  - [Convert a ReadableStream to a Uint8Array](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fto-typedarray)\n  - [Convert a ReadableStream to an array of chunks](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fto-array)\n  - [Convert a Node.js Readable to JSON](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fnode-readable-to-json)\n  - [Convert a ReadableStream to an ArrayBuffer](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fto-arraybuffer)\n  - [Convert a Node.js Readable to a Blob](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fnode-readable-to-blob)\n  - [Convert a Node.js Readable to a string](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fnode-readable-to-string)\n  - [Convert a Node.js Readable to an Uint8Array](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fnode-readable-to-uint8array)\n  - [Convert a Node.js Readable to an ArrayBuffer](https:\u002F\u002Fbun.com\u002Fguides\u002Fstreams\u002Fnode-readable-to-arraybuffer)\n\n- Test\n  - [Spy on methods in `bun test`](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fspy-on)\n  - [Bail early with the Bun test runner](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fbail)\n  - [Mock functions in `bun test`](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fmock-functions)\n  - [Run tests in watch mode with Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fwatch-mode)\n  - [Use snapshot testing in `bun test`](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fsnapshot)\n  - [Skip tests with the Bun test runner](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fskip-tests)\n  - [Using Testing Library with Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Ftesting-library)\n  - [Update snapshots in `bun test`](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fupdate-snapshots)\n  - [Run your tests with the Bun test runner](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Frun-tests)\n  - [Set the system time in Bun's test runner](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fmock-clock)\n  - [Set a per-test timeout with the Bun test runner](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Ftimeout)\n  - [Migrate from Jest to Bun's test runner](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fmigrate-from-jest)\n  - [Write browser DOM tests with Bun and happy-dom](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fhappy-dom)\n  - [Mark a test as a \"todo\" with the Bun test runner](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Ftodo-tests)\n  - [Re-run tests multiple times with the Bun test runner](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Frerun-each)\n  - [Generate code coverage reports with the Bun test runner](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fcoverage)\n  - [import, require, and test Svelte components with bun test](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fsvelte-test)\n  - [Set a code coverage threshold with the Bun test runner](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fcoverage-threshold)\n  - [Selectively run tests concurrently with glob patterns](https:\u002F\u002Fbun.com\u002Fguides\u002Ftest\u002Fconcurrent-test-glob)\n\n- Util\n  - [Generate a UUID](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fjavascript-uuid)\n  - [Hash a password](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fhash-a-password)\n  - [Escape an HTML string](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fescape-html)\n  - [Get the current Bun version](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fversion)\n  - [Upgrade Bun to the latest version](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fupgrade)\n  - [Encode and decode base64 strings](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fbase64)\n  - [Compress and decompress data with gzip](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fgzip)\n  - [Sleep for a fixed number of milliseconds](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fsleep)\n  - [Detect when code is executed with Bun](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fdetect-bun)\n  - [Check if two objects are deeply equal](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fdeep-equals)\n  - [Compress and decompress data with DEFLATE](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fdeflate)\n  - [Get the absolute path to the current entrypoint](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fmain)\n  - [Get the directory of the current file](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fimport-meta-dir)\n  - [Check if the current file is the entrypoint](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fentrypoint)\n  - [Get the file name of the current file](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fimport-meta-file)\n  - [Convert a file URL to an absolute path](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Ffile-url-to-path)\n  - [Convert an absolute path to a file URL](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fpath-to-file-url)\n  - [Get the absolute path of the current file](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fimport-meta-path)\n  - [Get the path to an executable bin file](https:\u002F\u002Fbun.com\u002Fguides\u002Futil\u002Fwhich-path-to-executable-bin)\n\n- WebSocket\n  - [Build a publish-subscribe WebSocket server](https:\u002F\u002Fbun.com\u002Fguides\u002Fwebsocket\u002Fpubsub)\n  - [Build a simple WebSocket server](https:\u002F\u002Fbun.com\u002Fguides\u002Fwebsocket\u002Fsimple)\n  - [Enable compression for WebSocket messages](https:\u002F\u002Fbun.com\u002Fguides\u002Fwebsocket\u002Fcompression)\n  - [Set per-socket contextual data on a WebSocket](https:\u002F\u002Fbun.com\u002Fguides\u002Fwebsocket\u002Fcontext)\n\n- Write file\n  - [Delete a file](https:\u002F\u002Fbun.com\u002Fguides\u002Fwrite-file\u002Funlink)\n  - [Write to stdout](https:\u002F\u002Fbun.com\u002Fguides\u002Fwrite-file\u002Fstdout)\n  - [Write a file to stdout](https:\u002F\u002Fbun.com\u002Fguides\u002Fwrite-file\u002Fcat)\n  - [Write a Blob to a file](https:\u002F\u002Fbun.com\u002Fguides\u002Fwrite-file\u002Fblob)\n  - [Write a string to a file](https:\u002F\u002Fbun.com\u002Fguides\u002Fwrite-file\u002Fbasic)\n  - [Append content to a file](https:\u002F\u002Fbun.com\u002Fguides\u002Fwrite-file\u002Fappend)\n  - [Write a file incrementally](https:\u002F\u002Fbun.com\u002Fguides\u002Fwrite-file\u002Ffilesink)\n  - [Write a Response to a file](https:\u002F\u002Fbun.com\u002Fguides\u002Fwrite-file\u002Fresponse)\n  - [Copy a file to another location](https:\u002F\u002Fbun.com\u002Fguides\u002Fwrite-file\u002Ffile-cp)\n  - [Write a ReadableStream to a file](https:\u002F\u002Fbun.com\u002Fguides\u002Fwrite-file\u002Fstream)\n\n## Contributing\n\nRefer to the [Project > Contributing](https:\u002F\u002Fbun.com\u002Fdocs\u002Fproject\u002Fcontributing) guide to start contributing to Bun.\n\n## License\n\nRefer to the [Project > License](https:\u002F\u002Fbun.com\u002Fdocs\u002Fproject\u002Flicense) page for information about Bun's licensing.\n","Bun 是一个集成了 JavaScript 运行时、打包工具、测试运行器和包管理器的全能工具。它使用 Zig 语言编写，并基于 JavaScriptCore 引擎，旨在成为 Node.js 的高性能替代品，显著提升了启动速度并减少了内存占用。Bun 支持 TypeScript 和 JSX，且内置了快速的测试执行与脚本运行功能，同时兼容现有的 Node.js 项目。适用于需要高效开发环境的前端及后端 JavaScript\u002FTypeScript 应用场景中，特别适合追求极致性能和简化依赖管理的开发者。",2,"2026-06-17 02:34:32","top_all"]