SPB Git
4.2 KB · 49 lines json
1{2  "slug": "bun",3  "name": "Bun",4  "aliases": ["Bun.js", "Bun runtime"],5  "vendor": { "name": "Oven", "slug": "oven", "website": "https://bun.sh" },6  "homepage_url": "https://bun.sh/",7  "docs_url": "https://bun.sh/docs",8  "repo_url": "https://github.com/oven-sh/bun",9  "license_url": "https://github.com/oven-sh/bun/blob/main/LICENSE.md",10  "product_type": "language",11  "product_status": "active",12  "summary": "All-in-one JavaScript and TypeScript runtime, package manager, bundler and test runner built on JavaScriptCore by Oven",13  "description": "Bun is a JavaScript and TypeScript runtime developed by Oven, written in Zig and built on Apple's JavaScriptCore engine rather than V8. It ships as a single binary that combines a runtime with Node.js API compatibility, an npm-compatible package manager, a bundler, a test runner and a shell scripting helper. TypeScript and JSX files run directly without a build step.\n\nBun is commonly adopted to speed up install and test cycles in existing Node projects, since `bun install` and `bun test` can usually be dropped into a repository that keeps Node for production. It also serves as a full runtime for Hono, Elysia or Next.js applications on macOS and Linux. Caveats: Node compatibility is extensive but not complete, so some native modules and edge cases behave differently; Windows support arrived later and is less mature; and the core team is small relative to Node's, so production teams should verify their dependency set.",14  "capabilities": ["JavaScript and TypeScript execution without a compile step", "npm-compatible package manager with lockfile", "Built-in bundler and test runner", "Node.js API compatibility layer", "Native SQLite, HTTP server and WebSocket APIs"],15  "workflows": ["Replace npm install and Jest in an existing repository for faster CI", "Run a Hono or Express API directly from TypeScript sources", "Bundle a front end without a separate bundler"],16  "advantages": ["Single binary covering runtime, packages, bundling and tests", "Runs TypeScript directly", "MIT license"],17  "limitations": ["Node.js compatibility is not complete", "Smaller team and ecosystem than Node", "Statically links JavaScriptCore (LGPL), which matters for redistribution"],18  "prerequisites": ["macOS, Linux or Windows; install script, Homebrew or npm"],19  "audiences": ["JavaScript developers seeking faster toolchains", "Teams building TypeScript APIs", "Front-end developers"],20  "alternatives": ["nodejs", "deno", "vite", "jest"],21  "comparison_notes": "Node.js is the compatibility baseline Bun targets and remains the most widely tested runtime; Deno, the other alternative runtime, emphasizes web-standard APIs and a permission model. Vite and Jest are the single-purpose tools Bun's bundler and test runner most often replace.",22  "categories": [{ "slug": "programming-languages", "primary": true }],23  "tags": ["javascript", "typescript", "open-source", "cli", "runtime"],24  "use_cases": ["build-web-apps", "host-web-apps"],25  "operating_systems": ["macos", "linux", "windows"],26  "execution_modes": ["local", "self-hosted"],27  "interfaces": ["cli", "library"],28  "deployment_models": ["on-premises", "desktop"],29  "integrations": ["npm registry", "Hono", "Next.js", "TypeScript", "Docker"],30  "data_formats": ["JSON", "TOML (bunfig)", "bun.lock", "SQLite"],31  "languages": ["Zig", "JavaScript", "TypeScript", "C++"],32  "source_model": "open-source",33  "license_spdx": "MIT",34  "pricing_model": ["open-source", "free"],35  "self_hostable": true,36  "sources": [37    { "url": "https://bun.sh/", "type": "official_site", "title": "Bun — A fast all-in-one JavaScript runtime", "supports": ["name", "summary"], "checked_at": "2026-11-02" },38    { "url": "https://bun.sh/docs", "type": "official_docs", "title": "Bun Documentation", "supports": ["capabilities"], "checked_at": "2026-11-02" },39    { "url": "https://github.com/oven-sh/bun/blob/main/LICENSE.md", "type": "license_page", "supports": ["license_spdx", "limitations"], "checked_at": "2026-11-02", "note": "Bun itself MIT; statically linked JavaScriptCore is LGPL-2" }40  ],41  "confidence": "high",42  "discovery_method": "editorial-research",43  "depth": "standard",44  "editorial_status": "reviewed",45  "visibility": "public",46  "featured": false,47  "author": "batch-B1"48}49
Files · 19c0ff748ee94e0979c734f5fb3afeefc11ee9e1
Menu

Theme