Home
Use Case
Type: All-in-One JavaScript/TypeScript Runtime
Typical Use Case: Fast backends, bundler, testing, CLI tools, rapid development
Famous Usage: Elysia frameworks, startups, lightweight services

🥐 Bun Stack

Bun · TypeScript · SQLite

Bu

Bun

JavaScript Runtime
  • Ultra-fast JavaScript/TypeScript runtime, Zig-based, 3x faster than Node.js
  • Built-in bundler, test runner, package manager (bun install)
  • APIs for HTTP, file system, socket support, WebSocket support
TS

TypeScript

Type-Safe Language
  • Static type checking, better IDE support, compile-time error detection
  • Modern ES2020+ features, interfaces, generics, decorators
  • Zero configuration in Bun, native TypeScript support
SQ

SQLite

Embedded Database
  • Lightweight, zero configuration, ACID transactions, full SQL support
  • Built into Bun runtime, file-based or in-memory databases
  • No separate server needed, perfect for single-instance apps
Flow: Bun runtime executes TypeScript code → TypeScript provides type safety → SQLite stores and retrieves data efficiently.