Bun is a fast, all-in-one toolkit for installing, bundling, running and testing JavaScript & TypeScript. To install: `npm i -g bun`

In the next version of Bun Idle CPU usage drops by 67%
51
53
1,481
75,160
Replying to @openclonne

ALT Leonardo Dicaprio Look GIF by Once Upon A Time In Hollywood

19
1,403
In the next version of Bun Enabling profile-guided optimization for bytecode improves startup time by up to 2x `bun build --compile --bytecode --bytecode-order=./file`
18
12
405
17,799
VIA QUOTE POST PRIVILEGED & CONFIDENTIAL FOR SETTLEMENT PURPOSES ONLY (FED. R. EVID. 408) September 22, 2026 Mr. Alexandr Wang @alexandr_wang Re: Unauthorized Use of the BUN® Design Mark, U.S. Reg. No. 7,585,721; Proposed “Muse Merch Store”; Demand to Cease and Desist; Notice of Litigation Hold Mr. Wang: Bun (“Bun,” “Registrant,” or “the Bun”) is the owner of all right, title, and interest in and to U.S. Registration No. 7,585,721, issued December 3, 2024 on the Principal Register, for a mark consisting of “a bread bun with a smiling face,” wherein “the bun has black and white eyes,” “pink cheeks and a pink and dark pink mouth outlined in black,” the colors tan, dark tan, pink, dark pink, black and white being claimed as a feature of the mark (the “BUN® Mark”), which registration constitutes prima facie evidence of the validity of the BUN® Mark and of Bun’s exclusive right to use the same pursuant to 15 U.S.C. § 1057(b), and constructive notice of Bun’s claim of ownership thereof pursuant to 15 U.S.C. § 1072, such that ignorance of the Bun shall be no defense. The United States Patent and Trademark Office has further classified the BUN® Mark under Design Search Code 02.01.34 (“Monsters (not robots)”), a classification Bun has at all times accepted without objection. It has come to Bun’s attention that you, together with your affiliates, agents, successors, assigns, and any superintelligences acting in concert therewith (collectively, “You”), have announced an intent to open a “muse merch store” and have commenced “market research” in connection therewith, publicly displaying goods including without limitation one (1) t-shirt, one (1) bucket hat, one (1) beanie, one (1) sock (singular), one (1) pin set (3-pack), and assorted keychains, patches, plush and tote bags (collectively, the “Infringing Goods”), each bearing a tan, round figure having black eyes, pink cheeks and a smiling face (the “Musey”), which is, upon information and belief, also a monster, and not a robot. Under the factors set forth in AMF Inc. v. Sleekcraft Boats, 599 F.2d 341 (9th Cir. 1979), the likelihood of confusion is overwhelming: the marks are similar in sight, sound (none), and meaning (bun); the goods are proximate; Bun has long contemplated expansion into bucket hats; and consumers who have expressed a willingness to exchange a right kidney for the Infringing Goods cannot be said to be exercising the degree of care ordinarily expected of a reasonably prudent purchaser. Accordingly, Bun hereby demands that You immediately (i) cease and desist from any and all manufacture, sale, offering for sale, patting, and market research of or relating to the Infringing Goods; (ii) deliver up all Infringing Goods for destruction pursuant to 15 U.S.C. § 1118, or for cuddling, at Bun’s sole discretion; (iii) provide a full accounting of all profits, market capitalization, and kidneys received; and (iv) preserve all documents, electronically stored information, and plush, whether stuffed or unstuffed, pending final resolution of this matter. Nothing herein constitutes a complete statement of the relevant facts or a waiver of any rights, remedies, or crumbs, including without limitation those arising under 15 U.S.C. §§ 1114, 1116, 1117, and 1125(a) and (c) (Bun being, upon information and belief, famous), all of which are expressly reserved. Time is of the essence. Govern yourself accordingly. Very truly yours, Bun Enclosures: Exhibits A–B cc: The Musey (via pat) Exhibits
we are considering opening a muse merch store i am doing market research how excited you would be by muse merch, from a scale of "meh" to "you can have my right kidney"?
49
10
395
80,613
Replying to @wesbos
smol pr
2
91
7,222
Bun v1.4.2 is compiling
19
4
499
21,315
Bun hit 32.8 million monthly downloads last month
8
8
354
185,105
Bun v1.4.1 is compiling
17
7
564
40,619
In the next version of Bun Bun starts 1ms faster
39
15
976
74,210
Peak memory usage doesn't change much
1
1
52
16,023
Bun v1.4.1 reduces idle memory usage
15
23
537
47,653
In the next version of Bun AsyncLocalStorage gets about 13% faster
5
4
311
29,394
Bun v1.4.1 is a big upgrade to Bun’s bundler. On a 200-route React app over simulated 4G, navigating between routes is 38% faster than Bun v1.4.0, and 10% faster than Vite v8.2.2.
18
26
690
40,731
In the next version of Bun `bun build` tree-shakes property accesses through dynamic imports
6
5
306
13,452
In the next version of Bun Bun's bundler gets smarter about tree-shaking ESM that uses `export * as ns` syntax
9
11
417
18,758
In the next version of Bun `bun build --splitting` injects `<link rel="modulepreload">`, helping webpages load faster by reducing network waterfalls
8
25
852
46,137
In the next version of Bun `Bun.serve({ http2: true })` enables HTTP/2 support. The same API just works for HTTP/1.1, HTTP/2, and HTTP/3.
5
12
437
19,203
`--bytecode` used to cost ~7x your source size on disk and ~4x in memory, in exchange for faster startup. Now its ~3x on disk, almost free in memory, and starts faster than before. This is a large test app, so the absolute numbers are higher than what most would see.
2
1
70
6,453
In the next version of Bun Compiled executables with bytecode start 17% faster, get 30% smaller, and use 30% less memory on start
12
17
860
68,200
In the next version of Bun Buffer's read/write methods get up to 7x faster
17
19
663
36,801
almost done
1
72
17,949
JavaScript files use Bun's JS parser to AST diff and reformat it. This makes diffs of minified source code readable, which makes it a little harder for supply chain attacks to hide.
2
1
64
6,913
In the next version of Bun `bun pm diff <package@version> <package@version2>` shows code changes between versions (un-minified)
21
10
408
74,010
In the next version of Bun Web APIs like `URL`, `Headers`, and `URLSearchParams` get up to 4x faster
22
17
676
185,404
In the next version of Bun The `cgroup` option in `Bun.spawn` lets you limit cpu & memory usage of spawned processes on Linux
27
22
746
33,623
In the next version of Bun `bun dedupe` deduplicates semver-compatible resolved package versions
8
14
574
21,605
In the next version of Bun `bun audit fix` updates vulnerable dependencies
7
20
507
17,749
In the next version of Bun `bun prune` cleans unnecessary folders from node_modules
30
58
1,526
124,024
it’s almost time
43
27
1,041
34,290
Bun v1.4 is compiling
77
68
2,417
230,341
ratio improved!!
3
20
2,029
In the next version of Bun Node.js compatibility gets a big upgrade. Since Bun v1.3.14, an additional +1,493 tests from the Node.js test suite pass in Bun.
In the last 16 days, an additional +473 new tests from Node.js' test suite pass in Bun v1.4
15
11
442
108,180
In the next version of Bun RegExp gets up to 281x faster
39
33
1,005
76,438
In the next version of Bun `Bun.YAML.parse` supports cyclic anchors & aliases
6
8
331
18,893
In the next version of Bun `Bun.XML.parse` is a SIMD-accelerated XML parser builtin to Bun
20
16
549
33,338
In the last 16 days, an additional +473 new tests from Node.js' test suite pass in Bun v1.4
Bun v1.4 will be our biggest jump in Node.js compatibility since Bun v1.0
15
13
490
64,285
more detail about the bug
4
1
76
7,729
In the next version of Bun We fixed a GC retention cycle that made Next.js App Router SSR leak memory when a page called fetch()
23
19
684
46,369
In the next version of Bun Saving streaming file uploads to disk via Bun.write uses 35x less memory compared to Bun v1.3.14
18
16
542
29,428
In the next version of Bun Proxying file uploads uses 10x less memory than in v1.3.14
10
9
392
19,647
In the next version of Bun Several bugs involving backpressure propagation have been fixed
6
7
372
22,660
In the next version of Bun Bun.serve can serve a whole folder
46
27
649
37,414
31
18
895
70,180
In the next version of Bun bun:ffi gets up to 3x faster
12
11
524
144,585
Closed 911 issues as completed in the last 24 hrs. Many fixed in recent PRs. Some fixed long ago.
21
8
621
37,867
"how does this compare"
4
2
107
7,004
Bun v1.4 starts faster
31
28
929
67,394
Bun v1.4 will be our biggest jump in Node.js compatibility since Bun v1.0
36
32
1,060
226,911
In the next version of Bun Improved timer accuracy on Windows makes `Bun.sleep` faster
27
13
799
477,385