Use Bun for runtime, bundling, testing, packages, and Node migration decisions.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "bun-runtime" skill from askskill: 1. Download https://raw.githubusercontent.com/affaan-m/ECC/main/skills/bun-runtime/SKILL.md 2. Save it as ~/.claude/skills/bun-runtime/SKILL.md 3. Reload skills and tell me it's ready
I have a Node.js web project and want to evaluate whether it should move to Bun. Compare startup speed, dependency compatibility, testing, bundling, and Vercel deployment support, then give clear criteria for when migration makes sense and when it does not.
A Bun vs Node comparison with a migration recommendation and decision checklist.
Help migrate an existing Node.js project to Bun. Provide a step-by-step guide covering package.json script changes, dependency install commands, test execution, common compatibility troubleshooting, and a rollback plan.
An actionable migration plan with command examples, risk notes, and rollback guidance.
Design a Bun-based development workflow for a TypeScript backend project, including runtime, package management, bundling, test commands, and recommended project structure and CI practices for team collaboration.
A complete Bun workflow plan with commands, structure recommendations, and CI setup ideas.
Bun is a fast all-in-one JavaScript runtime and toolkit: runtime, package manager, bundler, and test runner.
Use when: adopting Bun, migrating from Node, writing or debugging Bun scripts/tests, or configuring Bun on Vercel or other platforms.
bun install is significantly faster than npm/yarn. Lockfile is bun.lock (text) by default in current Bun; older versions used bun.lockb (binary).bun test with Jest-like API.Migration from Node: Replace node script.js with bun run script.js or bun script.js. Run bun install in place of npm install; most packages work. Use bun run for npm scripts; bun x for npx-style one-off runs. Node built-ins are supported; prefer Bun APIs where they exist for better performance.
Vercel: Set runtime to Bun in project settings. Build: bun run build or bun build ./src/index.ts --outdir=dist. Install: bun install --frozen-lockfile for reproducible deploys.
# Install dependencies (creates/updates bun.lock or bun.lockb)
bun install
# Run a script or file
bun run dev
bun run src/index.ts
bun src/index.ts
bun run --env-file=.env dev
FOO=bar bun run script.ts
bun test
bun test --watch
// test/example.test.ts
import { expect, test } from "bun:test";
test("add", () => {
expect(1 + 2).toBe(3);
});
const file = Bun.file("package.json");
const json = await file.json();
Bun.serve({
port: 3000,
fetch(req) {
return new Response("Hello");
},
});
bun.lock or bun.lockb) for reproducible installs.bun run for scripts. For TypeScript, Bun runs .ts natively.Design Quarkus 3 backend patterns for messaging, APIs, data, and async workflows.
Use the correct Ethereum Keccak-256 hashing in Node.js and TypeScript.
Apply Nuxt 4 patterns for SSR safety, performance, and data fetching.
Generate images, videos, and audio with one unified AI media workflow.
Handle returns, refunds, fraud checks, and warranty claim decisions efficiently.
Review Solidity AMM, liquidity pool, and swap flow security risks.
Build a lightweight HTTP MCP server with Bun for tool discovery and execution.
Build, test, and deploy MCP servers for serverless and edge environments.
Automate BunnyCDN configuration, queries, and operational tasks via Rube MCP.
Deploy and manage Bult apps directly through AI coding agents.
Automate and test native Windows desktop apps through UI Automation via MCP.