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:
Check Out My Courses:
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:
- Intro & Slides
- What Is Bun?
- Features & Advantages
- Installation
- bun init
- bun run
- Bun.serve()
- Watch Mode
- Hot Reload Mode
- Env Variables
- Bun Scripts
- Simple Routes
- bun x
- Node Core Modules
- File I/O API
- Testing
- The Bundler
- bun build
- Bundler Watch Mode
- React & JSX
- Conclusion
1:00:21
12:08
52:41
3:23:11