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)
Our full CI pipeline is now sub 1 min. Here is what I did: - Vitest -> bun test - tsc -> bun check - oxlint -> bun lint - oxfmt -> bun fmt - shards filled by recorded test time - PRs run only the tests the diff can reach - backend builds the app once per process - lint, typecheck, build and tests all in parallel 200+ hours of waiting saved every week
142
77
30
2,989
316,924
In the next version of Bun bun check gets 1.5x faster on small projects
4
11
1
330
10,478
In the next version of Bun bun lint gets 1.4x faster
9
6
1
269
8,805
In the next version of Bun bun fmt gets up to 2x faster in CI
5
11
2
431
13,325
Replying to @bunjavascript
@bunjavascript Yeah so your new linters are fucking insane. Thanks for the free performance LMAO
4
3
126
8,710
The @bunjavascript team implemented both import defer and using in JavaScriptCore, and they've shipped in Safari 27.3 Beta! 🎉 developer.apple.com/document…
26
293
13,869
1.5 is going to be bigger than 1.4
39
14
2
929
33,784
Last month, Bun crossed 50 million monthly downloads
16
11
495
21,432
this excludes single file binaries that use Bun
2
29
5,917
many people saying this
Bun AOT means "Attack on Titan" mode
15
12
4
543
25,359
In the next version of Bun import.meta.glob
6
4
3
415
22,019
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
547
55,961
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,155
Bun AoT in an Express node:sqlite REST API 40% less memory 14% lower cpu No JIT warmup
35
16
3
682
31,797
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
7
915
36,174
We upgraded our Bun runtime to Bun 1.4 and took Node.js out of the image entirely. Memory per container dropped 41%, cold starts are 18% faster and the image is 25% smaller. @jarredsumner and the @bunjavascript team are still cooking. tgr.dev/uv7Lfki
6
8
180
10,732
$ 𝚊𝚕𝚒𝚊𝚜 𝚗𝚘𝚠=𝚟𝚎𝚛𝚌𝚎𝚕 $ 𝚌𝚊𝚝 >𝙳𝚘𝚌𝚔𝚎𝚛𝚏𝚒𝚕𝚎 <<'𝙴𝙾𝙵' 𝙵𝚁𝙾𝙼 𝚘𝚟𝚎𝚗/𝚋𝚞𝚗:𝚊𝚕𝚙𝚒𝚗𝚎 𝙲𝙼𝙳 ["𝚋𝚞𝚗","-𝚎","𝙱𝚞𝚗.𝚜𝚎𝚛𝚟𝚎({𝚙𝚘𝚛𝚝:𝟾𝟶,𝚏𝚎𝚝𝚌𝚑:()=>𝚗𝚎𝚠 𝚁𝚎𝚜𝚙𝚘𝚗𝚜𝚎('𝚠𝚎 𝚊𝚛𝚎 𝚜𝚘 𝚋𝚊𝚌𝚔')})"] 𝙴𝙾𝙵 $ 𝚗𝚘𝚠 > Ready: bun-dockerfile.vercel.app
Your plain 𝙳𝚘𝚌𝚔𝚎𝚛𝚏𝚒𝚕𝚎 now deploys on Vercel. Add a 𝙳𝚘𝚌𝚔𝚎𝚛𝚏𝚒𝚕𝚎 or 𝙲𝚘𝚗𝚝𝚊𝚒𝚗𝚎𝚛𝚏𝚒𝚕𝚎 at your root, then Vercel selects the Container preset, builds it, and routes traffic to the image. vercel.com/changelog/deploy-…
58
12
4
363
41,650
claude.ai switched from oxfmt to bun fmt Formatting in CI got 1.7x faster
16
13
5
568
19,587
claude.ai switched from `oxlint` to `bun lint` ci got 22s faster
34
34
9
1,115
40,315