<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>bun on 编程那些事儿</title><link>https://before80.github.io/prgms/Js/tools/bun/</link><description>Recent content in bun on 编程那些事儿</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sun, 29 Mar 2026 14:37:41 +0800</lastBuildDate><atom:link href="https://before80.github.io/prgms/Js/tools/bun/index.xml" rel="self" type="application/rss+xml"/><item><title>第一章 Bun 是什么</title><link>https://before80.github.io/prgms/Js/tools/bun/Chapter-01-What-is-Bun/</link><pubDate>Sun, 29 Mar 2026 14:36:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/bun/Chapter-01-What-is-Bun/</guid><description>&lt;h1 id="第一章bun-是什么"&gt;第一章　Bun 是什么&lt;/h1&gt;
&lt;h2 id="11-bun-的定义与定位"&gt;1.1 Bun 的定义与定位&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Bun&lt;/strong&gt; 是一个&lt;strong&gt;一站式 JavaScript / TypeScript / JSX 工具包&lt;/strong&gt;。它用一个叫 &lt;code&gt;bun&lt;/code&gt; 的单一、无依赖的二进制文件，把运行时、打包器、包管理器、测试框架、Lint工具、Shell工具全部集成在一起。&lt;/p&gt;</description></item><item><title>第二章 历史与演进</title><link>https://before80.github.io/prgms/Js/tools/bun/Chapter-02-History-and-Evolution/</link><pubDate>Sun, 29 Mar 2026 14:36:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/bun/Chapter-02-History-and-Evolution/</guid><description>&lt;h1 id="第二章历史与演进"&gt;第二章　历史与演进&lt;/h1&gt;
&lt;h2 id="21-bun-的诞生背景"&gt;2.1 Bun 的诞生背景&lt;/h2&gt;
&lt;p&gt;2022 年，一个叫 &lt;strong&gt;Jarred Sumner&lt;/strong&gt; 的哥们实在受不了 Node.js 的慢速度，决定自己动手写一个更快的 JavaScript 运行时。他创立了 &lt;strong&gt;Oven 公司&lt;/strong&gt;（中文社区戏称&amp;quot;烤箱公司&amp;quot;——JavaScript 运行时，烤箱烤面包很快，名字还挺贴切），全职维护 Bun。&lt;/p&gt;</description></item><item><title>第三章 有什么用</title><link>https://before80.github.io/prgms/Js/tools/bun/Chapter-03-What-is-it-for/</link><pubDate>Sun, 29 Mar 2026 14:36:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/bun/Chapter-03-What-is-it-for/</guid><description>&lt;h1 id="第三章有什么用"&gt;第三章　有什么用&lt;/h1&gt;
&lt;h2 id="31-设计目标官方五大设计原则"&gt;3.1 设计目标（官方五大设计原则）&lt;/h2&gt;
&lt;p&gt;Bun 团队在设计 Bun 时有五大核心原则，这些原则指导着 Bun 的每一次迭代。&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;💡 想象一下，如果厨房里只能有一把刀，这把刀要能切菜、切肉、削水果、开罐头——Bun 就是 JavaScript 世界的这把&amp;quot;瑞士军刀&amp;quot;。&lt;/p&gt;</description></item><item><title>第四章 用在哪里</title><link>https://before80.github.io/prgms/Js/tools/bun/Chapter-04-Where-to-use/</link><pubDate>Sun, 29 Mar 2026 14:36:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/bun/Chapter-04-Where-to-use/</guid><description>&lt;h1 id="第四章用在哪里"&gt;第四章　用在哪里&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;💡 如果你问&amp;quot;Bun 能干啥&amp;quot;，这章就是答案。它不是万能药，但在 JavaScript 开发的大部分高频场景里，Bun 都能让你少加班、早下班。&lt;/p&gt;</description></item><item><title>第五章 怎么用</title><link>https://before80.github.io/prgms/Js/tools/bun/Chapter-05-How-to-use/</link><pubDate>Sun, 29 Mar 2026 14:36:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/bun/Chapter-05-How-to-use/</guid><description>&lt;h1 id="第五章-怎么用"&gt;第五章 怎么用&lt;/h1&gt;
&lt;p&gt;欢迎来到 Bun 的&amp;quot;灵魂拷问&amp;quot;环节——前四章我们把 Bun 从头到脚介绍了一遍，现在终于要上手&amp;quot;干活&amp;quot;了。本章是 Bun 的&lt;strong&gt;实战指南&lt;/strong&gt;，覆盖从安装到生产的完整流程，保证你学完就能跑。&lt;/p&gt;</description></item><item><title>第六章 需要注意哪些</title><link>https://before80.github.io/prgms/Js/tools/bun/Chapter-06-Caveats-and-Caution/</link><pubDate>Sun, 29 Mar 2026 14:36:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/bun/Chapter-06-Caveats-and-Caution/</guid><description>&lt;h1 id="第六章需要注意哪些"&gt;第六章　需要注意哪些&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;🔔 &lt;strong&gt;阅读警告&lt;/strong&gt;：Bun 虽然很香，但它不是万能药。在把它扔进生产环境之前，请先把这些坑看清楚——不然你会在凌晨两点哭着找 Node.js。
{: .info }&lt;/p&gt;</description></item><item><title>第七章 相关配置</title><link>https://before80.github.io/prgms/Js/tools/bun/Chapter-07-Configuration/</link><pubDate>Sun, 29 Mar 2026 14:36:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/bun/Chapter-07-Configuration/</guid><description>&lt;h1 id="第七章相关配置"&gt;第七章　相关配置&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;🤓 本章聊聊 Bun 的各种&amp;quot;花式配置&amp;quot;——从配置文件到环境变量，从国内镜像加速到 IDE 配合，手把手把你打造成配置大师。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="71-bunfigtoml全局配置文件"&gt;7.1 bunfig.toml（全局配置文件）&lt;/h2&gt;
&lt;p&gt;如果说 Bun 是一个狂飙的老司机，那 &lt;code&gt;bunfig.toml&lt;/code&gt; 就是它的&lt;strong&gt;外挂副驾驶&lt;/strong&gt;——全局配置，想怎么调就怎么调。&lt;/p&gt;</description></item></channel></rss>