Here’s why you should learn about Bun:
- it is modern
- it is fast (claims to be a lot faster than alternatives (Node.js and Deno)
- provides many nice things to us developers (DX = developer experience)
- a lot of interesting projects are built upon Bun
- built-in support for TypeScript
- built-in support for JSX
This is already a compelling list.
What’s interesting is that Bun is meant as a drop-in replacement for Node.js, which means you can use it in most projects simply swapping
npm run with
bun run and that’s it, you switched to Bun.
In this unit we’ll learn the most interesting aspects of Bun.
Lessons this unit:
|2:||Running your first Bun program|
|3:||Working with packages|
|4:||Bun's built-in features|