Bun (@bunjavascript) header
Bun (@bunjavascript) profile picture

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
Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)
In the next version of Bun Bun.Archive supports zip files. Zipping 103,173 files: bun: 310ms 7z: 6,460ms (21x slower) zip: 7,530ms (24x slower)
26
21
9
623
21,871
Why it's fast: - Bun's deflate compressor is extremely fast - Deflate is chunked on multiple threads
1
45
2,745
In the next version of Bun bun check gets 1.5x faster on small projects
10
11
2
348
14,021
In the next version of Bun bun lint gets 1.4x faster
10
6
1
279
11,444
In the next version of Bun bun fmt gets up to 2x faster in CI
7
11
2
439
15,057
1.5 is going to be bigger than 1.4
39
15
2
937
34,909
Last month, Bun crossed 50 million monthly downloads
16
11
499
22,273
this excludes single file binaries that use Bun
2
30
6,645
many people saying this
Bun AOT means "Attack on Titan" mode
15
12
4
546
26,056
In the next version of Bun import.meta.glob
6
4
3
415
22,571
In the next version of Bun bun test gets improved Vitest compatibility, including: DOM environments, automocking, vi.mock hoisting, and async fake timers
17
9
3
548
56,548
Also: test.extend, vi.hoisted, importOriginal, vi.importActual, vi.doMock, vi.stubEnv, vi.stubGlobal, vi.waitFor, vi.mocked, vi.resetModules, expect.poll, expect.soft, test.for, test.fails, onTestFinished, toMatchFileSnapshot
28
5,527
Security incidents across open-source aren't showing signs of slowing down The Bun team is dedicating a higher % of our time to security work for the foreseeable future
18
24
6
917
36,501
claude.ai switched from oxfmt to bun fmt Formatting in CI got 1.7x faster
16
13
5
572
19,902
claude.ai switched from `oxlint` to `bun lint` ci got 22s faster
34
34
9
1,116
40,656
claude.ai switched from TypeScript 7 to `bun check` type-checking got 69s faster
38
34
8
984
35,432
and uses 5x less memory
3
94
5,221
We published three security advisories for Bun 1.4.3 and earlier: compromised eMudhra certificates, the brotli decoder bug (HTTP2Shell), and the HTTP/3 "Header Accordions" attack. These are all fixed in Bun 1.4.4. Please upgrade, and rebuild anything made with `bun build --compile` $ bun upgrade github.com/oven-sh/bun/secur…
19
47
10
604
42,033
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
48
75
26
1,294
94,138
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
3
1
75
8,245
Bun v1.4.4 is compiling
25
11
3
661
20,136
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
47
16
1,264
75,977
In the next version of Bun `bun lint --staged` is a builtin alternative to lint-staged
23
14
5
482
17,181