bun

Map Node.js commands to Bun equivalents and use Bun APIs for servers and databases.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/attunehq/agentic-bun --skill bun-attunehq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun
Source: https://github.com/attunehq/agentic-bun/tree/main/.agents/skills/bun
Command: npx skills add https://github.com/attunehq/agentic-bun --skill bun-attunehq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you leverage the Bun JavaScript runtime, replacing traditional Node.js tools for faster development and execution.

Core Features & Use Cases

  • Command Replacement: Understand how to map common Node.js commands to their Bun equivalents.
  • Bun-Specific APIs: Learn to use built-in APIs for HTTP servers, SQLite, Redis, and more.
  • Testing: Implement tests using Bun's integrated test runner.
  • Frontend Development: Utilize Bun's capabilities for serving HTML and transpiling modern JavaScript/TypeScript.

Quick Start

Use the bun skill to run the script 'src/cli.ts' with the arguments 'hello' and '--name' 'world'.

Frequently Asked Questions about bun

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Node.js commands to the Bun runtime?

You can migrate Node.js commands to the Bun runtime by mapping your existing CLI commands to their Bun equivalents, enabling faster execution and integrated TypeScript transpilation.

What built-in APIs does Bun provide for HTTP servers and SQLite?

Bun provides built-in APIs for HTTP servers, SQLite, and Redis, allowing you to handle networking and database operations directly without relying on external Node.js packages.

Can I transpile modern TypeScript for frontend development using Bun?

You can transpile modern JavaScript and TypeScript for frontend development using Bun's integrated capabilities, which also support serving HTML directly during the development process.

Does Bun include a test runner for JavaScript and TypeScript projects?

Bun includes an integrated test runner for JavaScript and TypeScript projects, allowing you to implement and execute tests natively within the runtime for rapid validation.

Why should I use Bun over Node.js for my JavaScript runtime?

You should use Bun over Node.js to achieve significant performance improvements in execution speed, leveraging its native API usage and integrated transpilation for a faster development lifecycle.

How do I execute a TypeScript script with arguments in the Bun runtime?

To execute a TypeScript script in the Bun runtime, use the command line interface to run your target file, passing arguments directly to the script for immediate native transpilation and execution.