Bun Crash Course | JavaScript Runtime, Bundler & Transpiler



Bun Crash Course | JavaScript Runtime, Bundler & Transpiler

Bun Crash Course | JavaScript Runtime, Bundler & Transpiler

In this crash course, we will look at the Bun.js JavaScript runtime/bundler/toolkit. I will show you how to get set up and check out some of the features.

Bun Official Website & Docs:
https://bun.sh

Check Out My Courses:
https://traversymedia.com

If you are on Windows, this is a video I did setting up WSL. It is old, but the steps are pretty much the same:
https://www.youtube.com/watch?v=Cvrqmq9A3tA

Timestamps:

0:00 – Intro & Slides
1:22 – What Is Bun?
4:41 – Features & Advantages
9:16 – Installation
11:50 – bun init
12:55 – bun run
13:18 – Bun.serve()
15:29 – Watch Mode
16:22 – Hot Reload Mode
16:43 – Env Variables
18:16 – Bun Scripts
19:30 – Simple Routes
21:00 – bun x
21:58 – Node Core Modules
23:59 – File I/O API
27:05 – Testing
29:19 – The Bundler
32:21 – bun build
34:26 – Bundler Watch Mode
35:03 – React & JSX
39:03 – Conclusion

Comments are closed.