搜索

PythonReactSEOPDF
GitHub Skill

bun-llm-docs

Fetch Bun runtime documentation via llms.txt for up-to-date API references

5dlabs☆ 1 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

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 framework
  • effect-patterns - Effect TypeScript patterns

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-03-03
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!