← 返回
数据分析

Bun Runtime

Bun runtime capabilities for filesystem, process, and network operations. Use when you need to execute Bun-specific operations like Bun.file(), Bun.write(), or Bun.glob() for optimized file handling, or when working with Bun's native process/network APIs. Triggered by requests for Bun runtime features, file operations with Bun, or high-performance I/O tasks.
Bun 运行时的文件系统、进程及网络操作能力。用于执行 Bun 特有的优化文件处理(如 Bun.file()、Bun.write()、Bun.glob())或原生进程/网络 API。当涉及 Bun 运行时特性、文件操作或高性能 I/O 任务时触发。
rabin-thami
数据分析 clawhub v1.0.0 1 版本 99685.9 Key: 无需
★ 0
Stars
📥 2,539
下载
💾 8
安装
1
版本
#bun#cli#devtools#filesystem#latest#network#process

概述

Bun Runtime

Native Bun runtime operations for filesystem, process, and network tasks.

When to Use

Use this skill when:

  • Working with Bun's native file APIs (Bun.file(), Bun.write(), Bun.glob())
  • Need optimized I/O operations in Bun environment
  • Running Bun-specific process commands
  • Making network requests with Bun's fetch

Filesystem Operations

Read File

scripts/bun-fs.sh read /path/to/file.txt

Returns JSON: {"content": "file contents"}

Write File

scripts/bun-fs.sh write /path/to/file.txt "content here"

Creates parent directories automatically.

Returns JSON: {"written": true, "path": "/path/to/file.txt"}

Glob Files

scripts/bun-glob.sh "/tmp/*.txt"

Returns JSON: {"files": ["/tmp/file1.txt", "/tmp/file2.txt"], "count": 2}

Process Operations

Execute Command

scripts/bun-process.sh "ls -la"

Runs shell command and returns output.

Network Operations

HTTP Request

scripts/bun-fetch.sh "https://api.example.com" "GET"

Makes HTTP request using Bun's native fetch.

Notes

  • All scripts use Bun's native APIs for better performance
  • File operations automatically handle encoding
  • Errors are returned with clear messages

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 15:26 安全

安全检测

腾讯云安全 (Keen)

suspicious
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 367 📥 140,030
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,892
data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 269 📥 56,899