Bun Crash Course | JavaScript Runtime, Bundler & Transpiler

preview_player
Показать описание

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:

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
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
Рекомендации по теме
Комментарии
Автор

For crash courses, this channel is awesome and must watch. Soo nice explanation and to the point!

CodeWithMasood
Автор

BTW the reason why you may want to combine improt/require is because some required libraries may not support ES6 and you are stuck. Is handy to have the felxibility to have both, specially if you are mirating old projects.

heqcmri
Автор

This is the video I was trying to find, Really appreciate Brad😢. Love you man, you're a life saver.

moonlightCR
Автор

10 minutes in & im going to try bun after watching this video. something exciting indeed.

mrrolandlawrence
Автор

Just finished going through this now, thank you for making this I now have a grasp of what I can do and how bun works

judevector
Автор

Thank you so much for this video. I was looking for a tutorial for how to use bun as a development server. My node/npm is broken in my machine and I wanted to try bun. Now I have the clear guidance on how to use it. Thabks again 🎉

nordicnomad
Автор

this was amazing. I now understand bun more intimately. good job Traversy

tonykharioki
Автор

I'm following Brad from last 2 years I believe he is one of the best Programming Instructor in the world and quality content I just love your teaching way that your primarily focused on quality content even less effort of editing that's really love and huge respect and love from PAKISTAN.
God bless you Brad, you are inspiration for us.
Thank you for your quality content :-)

MuhammadBilal-ryrb
Автор

I have been waiting for your own take on Bun!

champorado
Автор

Thanks for creating and sharing this awesome crash course Brad

webdevluc
Автор

I agree, I've been looking at Bun for just over a week and it seems awesome, and now we have Brad's take too. I might actually enjoy a Rainy Monday now.

cyberprompt
Автор

I was just waiting for Brad's take on Bun! Time to watch this video!

clixt
Автор

Thanks for this crash course Brad!
👀 I was about to start learning node (I still will learn node) but I couldn't resist checking out the bun hype. So tasty lol

dezlymac
Автор

'Bun' looks like a pretty interesting library - great tutorial BTW !

paulthomas
Автор

Thanks Brad! when you starred this on GH, i knew a new crash course is coming. 😁

biscuithammer
Автор

Time to put BUN in my resume!, thanks ❤

ratulghosh
Автор

thank you so much Brad it is an amazing video about Bun 🙂

Salah-YT
Автор

Very nice quick overview of what we can do with bun. Thank you, Brad. Just wondering, couldn't you have used fetch() instead of axios?

odebroqueville
Автор

Bun is such a good addition to the js ecosystem.

youneshenni
Автор

Excellent Brad. But there is no need to put await before Bun.file function as per the offical docs.

Code should be like this

const file = Bun.file("cv.txt");
console.log(await file.text());
console.log(file.stream());
console.log(await file.arrayBuffer());

Abdulhannan.m
visit shbcf.ru