menu_book Course Curriculum (Bun) expand_more
Runtime Basics
Package Manager
Scripts & Tooling
Files & Streams
HTTP & Web APIs
SQLite & Data
Testing
Run TypeScript file
Learn Run TypeScript file in Bun with a focused explanation, a topic-specific example, edge guidance, and a mastery check.
12 min read
•
Beginner
Advertisement
bun-002.ts
ts
// greet.ts
const greet = (name: string) => `Hello ${name}`;
console.log(greet("Bun"));
// run: bun greet.ts
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content