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

Joined July 2022
Merging Bun AOT next week, then testing on Claude Code Expecting 2-3x less memory + CPU & a slightly smaller binary This is the future of server-side JavaScript Instead of you rewriting in Rust, we rewrote JavaScript's compiler to emit native code ahead of time
4th attempt at Bun AOT. Code quality & design is better. Perf is nearly there. Most importantly though It’s just TypeScript. Disregard everything I said last week about `as` casts changing runtime behavior and function arguments throwing. None of that is necessary.
99
41
20
1,202
44,895
Bun's now leading the TypeScript checker race! As always, in @framer's monorepo: 🏆 bun check: 2.42s, 2.0 GB | v1.4.4 🥈 tsrs: 2.50s, 2.6 GB | v0.18 🥉 tsc-ts: 5.9s, 5.3 GB | v0.6 TS 7.1 beta: 13.9s, 8.1 GB
Bun v1.4.4 - Fixes 271 issues, addressing 544 👍 - `bun fmt` is a fast Prettier-compatible code formatter - `bun check` gets 1.4x - 7.8x faster - New in Bun.SQL & WebSocket - Security fixes, including for Brotli, TLS certs, HTTP/3, and more bun.com/blog/bun-v1.4.4
6
11
7
282
21,018
Bun v1.4.4 - Fixes 271 issues, addressing 544 👍 - `bun fmt` is a fast Prettier-compatible code formatter - `bun check` gets 1.4x - 7.8x faster - New in Bun.SQL & WebSocket - Security fixes, including for Brotli, TLS certs, HTTP/3, and more bun.com/blog/bun-v1.4.4
46
74
26
1,276
87,023
We needed to get this release out tonight , so we couldn't include `bun lint` yet. bun lint is available via `bun upgrade --canary` though
2
69
6,178
Bun v1.4.4 is compiling
25
12
4
659
18,398
Bun v1.4.4 will be released this evening with a fix for this and for the Brotli issue. Both fetch() and Bun.serve() did not and continue to not enable HTTP/3 by default.
16
47
16
1,264
73,169
In the next version of Bun bun check gets 1.7x - 7x faster
59
26
9
1,239
52,560
In the next version of Bun `bun lint --staged` is a builtin alternative to lint-staged
23
14
6
481
16,029
In the next version of Bun bun lint is a 26x faster ESLint-compatible linter with over 1,000 builtin rules - reads eslint & oxlint configs.
55
60
18
1,152
96,935
You can see the complete list of over 1,000 builtin lint rules here bun.com/docs/lint/rules
1
1
1
65
5,929
bun lint builds on top of: - TypeScript’s parser and type checker, ported to Rust - Lint rules ported from oxlint: unicorn, jest, vitest, jsx-a11y, next and promise - Lint rules ported from ESLint, typescript-eslint, eslint-plugin-react, -import and -react-hooks Big thanks to those projects!
31
3,246
Bun retweeted
Moved an important API from Node → @bunjavascript Latency p50: −25% p95: −60% p99: −80% Resources Memory: −63% CPU: −25%
7
4
3
168
19,124
In the next version of Bun `bun fmt` is a 320x faster Prettier alternative Passes 99% of Prettier's test suite & supports 20 languages
111
128
59
2,205
144,532
Around 47k of the formatter's ~100k lines are based on Oxc's formatter (and Biome's, since Oxc's was based on Biome's), and it's tested against Prettier's own test suite. Big thanks to those projects!
8
2
4
305
47,616
what should the subcommand be for bun’s formatter
35%bun format
32%bun fmt
20%both
13%view results
2,200 votes • Final results
16
1
1
92
16,928
Bun v1.4.3 - Fixes 166 issues (addressing 122 👍) - `bun check`: fast TypeScript type-checker builtin to Bun - 67% lower idle CPU in servers - `Bun.FetchSession` - Faster JSON.parse - Node.js compatibility fixes & lots of bugfixes bun.com/blog/bun-v1.4.3
21
59
12
1,054
55,805
Bun v1.4.3 is compiling
9
5
398
14,087
Some of the language changes when TypeScript types become real (with ahead-of-time compilation)
74
42
68
945
208,570