Skip to main content
Bun home page
Search...
⌘K
Install Bun
Search...
Navigation
Utilities
Convert an absolute path to a file URL
Runtime
Package Manager
Bundler
Test Runner
Guides
Reference
Blog
Feedback
Overview
Guides
Runtime & Debugging
TypeScript types
Re-map import paths
VS Code debugger
Web debugger
Heap snapshots
Build-time constants
Define constants
GitHub Actions
Codesign on macOS
Utilities
Detect Bun
Get Bun version
Hash password
Generate UUID
Base64 encoding
Gzip compression
DEFLATE compression
Escape HTML
Deep equality
Sleep
File URL to path
Path to file URL
Find executable path
import.meta.dir
import.meta.file
import.meta.path
Check entrypoint
Get entrypoint path
Deployment
Deploy on Railway
Deploy on Render
Ecosystem & Frameworks
Astro with Bun
Discord.js with Bun
Docker with Bun
Drizzle with Bun
EdgeDB with Bun
Elysia with Bun
Express with Bun
Hono with Bun
Mongoose with Bun
Neon Drizzle with Bun
Neon Serverless Postgres with Bun
Next.js with Bun