Bun (@bunjavascript) 's Twitter Profile
Bun

@bunjavascript

Bun is a fast, all-in-one toolkit for installing, bundling, running and testing JavaScript & TypeScript. To install: `npm i -g bun`

ID: 1545025796003139590

linkhttp://bun.sh calendar_today07-07-2022 12:43:56

2,2K Tweet

44,44K Followers

2 Following

Jarred Sumner (@jarredsumner) 's Twitter Profile Photo

In the next version of Bun The fast path in request.json() & similar methods now works after accessing “.body” New: 65,000 req/s Prev: 29,000 req/s

In the next version of Bun

The fast path in request.json() & similar methods now works after accessing “.body”

New: 65,000 req/s
Prev: 29,000 req/s
dave caruso (@thepaperdave) 's Twitter Profile Photo

Implemented the "react fast refresh" transform in Bun's bundler. this adds some annotations to the bundled code so that React components participate in better hot module reloading. example of what that looks like

Implemented the "react fast refresh" transform in Bun's bundler. this adds some annotations to the bundled code so that React components participate in better hot module reloading.

example of what that looks like
Arthur Guiot 🇫🇷 (@arthur_guiot) 's Twitter Profile Photo

Sure Bun is fast. But the real performance gain is about running bun index.ts without having to: - Setup tsnode - Having to fight with module resolution & dependencies - Worry about CJS / ESM exports - Need to run async code in an async function ...

Jarred Sumner (@jarredsumner) 's Twitter Profile Photo

In the next version of Bun - response.clone() & req.clone() supports ReadableStream - .text(), .arrayBuffer(), .bytes() supports mixed content

In the next version of Bun

- response.clone()  & req.clone() supports ReadableStream
- .text(), .arrayBuffer(), .bytes() supports mixed content
Jarred Sumner (@jarredsumner) 's Twitter Profile Photo

In the next version of Bun A bug where the following would sometimes print `^[[A` is fixed 1. `bun run <package.json script>` 2. Ctrl + C 3. ↑ Up

In the next version of Bun

A bug where the following would sometimes print `^[[A`  is fixed
1. `bun run &lt;package.json script&gt;`
2. Ctrl + C
3. ↑ Up
Mr Jake Gordon (@jakegmaths) 's Twitter Profile Photo

Are you a computer science teacher keen on teaching JavaScript (we teach Bun on the CLI/server) to high achieving sixth formers in Cambridge (UK)? Get in touch, we'll be expanding the department soon!

Bun (@bunjavascript) 's Twitter Profile Photo

Bun v1.1.27 - Fixes 130 bugs (addressing 250 👍) - `bun pm pack` - Native `node:zlib` - Static routes in Bun.serve() - ReadableStream support for request.clone() & response.clone() - `bun run` ctrl + c fix Thanks to 17 contributors! bun.sh/blog/bun-v1.1.…