@TraversyMedia
  @TraversyMedia
Traversy Media | Bun Crash Course | JavaScript Runtime, Bundler & Transpiler @TraversyMedia | Uploaded 11 months ago | Updated 3 hours ago
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
Bun Crash Course | JavaScript Runtime, Bundler & TranspilerShould You Test As A Web Developer?New Course Alert - JS Challenges: Data Structures & AlgorithmsAstro Quick Start Course | Build an SSR BlogNext.js 13 Crash Course | App Directory, React Server Components & MoreBuild a Shopping Cart With React JS & Stripe20 Essential VS Code Extensions In 2024Do You Need To Learn Data Structures & Algorithms As A Developer?Build A Digital Resume & Host For FreeMicroservices Crash Course & Moleculer JS IntroBuild An AI Image Generator With OpenAI & Node.jsVue 3 & Composition API - Full Project

Bun Crash Course | JavaScript Runtime, Bundler & Transpiler @TraversyMedia