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
Bun v1.4.4 is compiling
20
8
4
331
8,645
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.
14
40
14
987
44,181
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.
this was my 3rd attempt at Bun AOT. the first two were before `bun check`, and performed worse than the JIT. it used bytecode instead of typescript types. binaries were sometimes 1 GB lol trying attempt 4 now. doesn’t work yet
38
1
5
726
32,827
what is Bun Attack On Titan
1
15
1,407
it’s patched in canary now but not yet in a release
3
70
In the next version of Bun bun check gets 1.7x - 7x faster
58
26
9
1,238
52,241
readme: fix typo Co-Authored-By: GNU nano 9.0 (UTF-8, EDITOR and VISUAL, guidestripe=72) Co-Authored-By: Ghostty 1.3.1 (Metal renderer) Co-Authored-By: zsh 5.9 (arm64-apple-darwin26.0) Co-Authored-By: Git 2.56.0 (Homebrew) Co-Authored-By: Secretive (SSH_AUTH_SOCK) Co-Authored-By: macOS Text Input (U.S. layout) Co-Authored-By: Apple Internal Keyboard (built-in) Co-Authored-By: APFS (sealed system volume, 4096-byte blocks) Co-Authored-By: MacBook Pro (Mac17,6, MGED4B/A, Apple M5 Max, 18 CPU cores, 36 GB RAM, macOS 27.0.1 build 26A434)
50
201
11
3,562
74,789
Co-Authored-By: Bun v1.5.0 (JavaScript runtime, bundler, package manager, test runner, type checker, code formatter, and linter) <bun@localhost>
6
211
5,663
In the next version of Bun `bun lint --staged` is a builtin alternative to lint-staged
23
14
6
477
15,476
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,147
96,254
can I use bun lint in a node project without moving the rest of it to bun?
1
1
1,561
You can see the complete list of over 1,000 builtin lint rules here bun.com/docs/lint/rules
1
1
1
65
5,892
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,215
Replying to @bunjavascript
Does it run type-aware rules like no-floating-promises yet?
1
1
1,617
Bun retweeted
Moved an important API from Node → @bunjavascript Latency p50: −25% p95: −60% p99: −80% Resources Memory: −63% CPU: −25%
7
4
3
167
19,113
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,201
144,093
Does it pick up an existing .prettierrc without changes?
1
26
6,663
yes. if you run into any problems, please file an issue in our github repo
52
6,378
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
304
47,470
Alexandr Wang
@alexandr_wangOct 12
somehow the corposlops refused to use my video
1,044
647
399
18,766
2,428,093
is this how babby is formed
2
1
224
17,248
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
91
16,809
bun format C:
1
5
701
bun defrag C:\
1
10
632