←
Bun4,196 posts
Bun avatar

Bun

@bunjavascript

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▧ 1,045 Photos and videos
Bun avatar
Bun@bunjavascript·Nov 6

Last month, Bun crossed 50 million monthly downloads

Post attachment
Bun avatar
Bun@bunjavascript·Nov 2

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

Bun avatar
Bun@bunjavascript·Nov 2

In the next version of Bun bun test gets improved Vitest compatibility, including: DOM environments, automocking, vi.mock hoisting, and async fake timers

Post attachment
Jarred Sumner avatar
⟳ Bun retweeted
Jarred Sumner@jarredsumner·Oct 31

Bun AoT in an Express node:sqlite REST API 40% less memory 14% lower cpu No JIT warmup

Post attachment
Bun avatar
Bun@bunjavascript·Oct 31

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

Trigger.dev avatar
⟳ Bun retweeted
Trigger.dev@triggerdotdev·Oct 30

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

Guillermo Rauch avatar
⟳ Bun retweeted
Guillermo Rauch@rauchg·Oct 27

$ 𝚊𝚕𝚒𝚊𝚜 𝚗𝚘𝚠=𝚟𝚎𝚛𝚌𝚎𝚕 $ 𝚌𝚊𝚝 >𝙳𝚘𝚌𝚔𝚎𝚛𝚏𝚒𝚕𝚎 <<'𝙴𝙾𝙵' 𝙵𝚁𝙾𝙼 𝚘𝚟𝚎𝚗/𝚋𝚞𝚗:𝚊𝚕𝚙𝚒𝚗𝚎 𝙲𝙼𝙳 ["𝚋𝚞𝚗","-𝚎","𝙱𝚞𝚗.𝚜𝚎𝚛𝚟𝚎({𝚙𝚘𝚛𝚝:𝟾𝟶,𝚏𝚎𝚝𝚌𝚑:()=>𝚗𝚎𝚠 𝚁𝚎𝚜𝚙𝚘𝚗𝚜𝚎('𝚠𝚎 𝚊𝚛𝚎 𝚜𝚘 𝚋𝚊𝚌𝚔')})"] 𝙴𝙾𝙵 $ 𝚗𝚘𝚠 > 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-…