Register and share your invite link to earn from video plays and referrals.

Bun
@bunjavascript
Bun is a fast, all-in-one toolkit for installing, bundling, running and testing JavaScript & TypeScript. To install: `npm i -g bun`
7 Following    83.5K Followers
1.5 is going to be bigger than 1.4
many people saying this
Bun AOT means "Attack on Titan" mode
In the next version of Bun import.meta.glob
Bun AoT in an Express node:sqlite REST API 40% less memory 14% lower cpu No JIT warmup
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
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.
Show more
$ 𝚊𝚕𝚒𝚊𝚜 𝚗𝚘𝚠=𝚟𝚎𝚛𝚌𝚎𝚕 $ 𝚌𝚊𝚝 >𝙳𝚘𝚌𝚔𝚎𝚛𝚏𝚒𝚕𝚎 <<'𝙴𝙾𝙵' 𝙵𝚁𝙾𝙼 𝚘𝚟𝚎𝚗/𝚋𝚞𝚗:𝚊𝚕𝚙𝚒𝚗𝚎 𝙲𝙼𝙳 ["𝚋𝚞𝚗","-𝚎","𝙱𝚞𝚗.𝚜𝚎𝚛𝚟𝚎({𝚙𝚘𝚛𝚝:𝟾𝟶,𝚏𝚎𝚝𝚌𝚑:()=>𝚗𝚎𝚠 𝚁𝚎𝚜𝚙𝚘𝚗𝚜𝚎('𝚠𝚎 𝚊𝚛𝚎 𝚜𝚘 𝚋𝚊𝚌𝚔')})"] 𝙴𝙾𝙵 $ 𝚗𝚘𝚠 > Ready:
Show more
switched from oxfmt to bun fmt Formatting in CI got 1.7x faster
switched from `oxlint` to `bun lint` ci got 22s faster
0
34
1.1K
34
Forward to community
I spent some time on the weekend to test bun's AOT compiler and results are nothing short of amazing. Performance up 2-3x, memory use less than half.
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
Show more
In the next version of Bun `bun lint --staged` is a builtin alternative to lint-staged
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.
Moved an important API from Node → @bunjavascript Latency p50: −25% p95: −60% p99: −80% Resources Memory: −63% CPU: −25%
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!
In the next version of Bun `bun fmt` is a 320x faster Prettier alternative Passes 99% of Prettier's test suite & supports 20 languages
0
111
2.2K
128
Forward to community
what should the subcommand be for bun’s formatter
Bun v1.4.3 - Fixes 166 issues (addressing 122 👍) - `bun check`: fast TypeScript type-checker builtin to Bun - 67% lower idle CPU in servers - `Bun.FetchSession` - Faster JSON.parse - Node.js compatibility fixes & lots of bugfixes
Show more
0
21
1.1K
59
Forward to community