bun-llm-docs
4
总安装量
4
周安装量
#47912
全站排名
安装命令
npx skills add https://github.com/5dlabs/cto --skill bun-llm-docs
Agent 安装分布
claude-code
3
windsurf
1
trae
1
opencode
1
antigravity
1
Skill 文档
Bun LLM Documentation
Bun provides comprehensive LLM-optimized documentation at https://bun.sh/llms.txt.
When to Use
Fetch this documentation when:
- Setting up a new Bun project or migrating from Node.js
- Working with Bun-specific APIs (SQLite, S3, Redis, FFI)
- Configuring the bundler, minifier, or bytecode caching
- Writing tests with
bun test - Using Bun’s shell scripting API
- Deploying to cloud platforms (AWS Lambda, Vercel, Railway)
Key Topics Covered
- Runtime: File I/O, HTTP Server, WebSockets, Workers, Streams
- Bundler: CSS, HTML, Hot Reloading, Macros, Plugins, Executables
- Package Manager: Install, Add, Update, Workspaces, Lockfile
- Testing: Coverage, Mocks, Snapshots, DOM testing, Jest migration
- Ecosystem: Elysia, Express, Hono, Drizzle, Prisma, Next.js, Remix
Quick Reference
// Fetch Bun docs via Firecrawl
const docs = await firecrawl.scrape({
url: "https://bun.sh/llms.txt",
formats: ["markdown"]
});
Key APIs Documented
| Module | Description |
|---|---|
Bun.serve |
HTTP server with WebSocket support |
Bun.file |
File I/O with lazy loading |
Bun.build |
JavaScript/TypeScript bundler |
Bun.$ |
Shell scripting API |
Bun.sql |
SQL database client |
bun:sqlite |
SQLite database |
bun:ffi |
Foreign function interface |
Related Skills
elysia-llm-docs– Elysia web frameworkeffect-patterns– Effect TypeScript patterns