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
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
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.
71
28
14
778
23,991
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
5
11
7
281
20,720
Replying to @shubhporwal24
we don’t have publishing access
6
1
74
5,225
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,069
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
47
73
26
1,269
85,522
Bun v1.4.4 is compiling
25
12
4
656
18,222
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,260
72,227
Replying to @prathamghaywat
it’s patched in canary now but not yet in a release
3
88
In the next version of Bun bun check gets 1.7x - 7x faster
58
26
9
1,239
52,494
Replying to @uwukko
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,687
In the next version of Bun `bun lint --staged` is a builtin alternative to lint-staged
23
14
6
481
15,998
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,243
Replying to @DarkModeDingo
we need to film still
3
20
1,715
Replying to @proxy_vector
yes!
6
1,572
You can see the complete list of over 1,000 builtin lint rules here bun.com/docs/lint/rules
1
1
1
65
5,926
Large production apps often need many custom lint rules, and that’s why bun lint supports eslint plugins. Under the hood, this is powered by the same parser and AST used by `bun check`, which is designed for TypeScript compatibility with additional performance optimizations.
1
78
7,085
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,869
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,123