bun-runtime

Guides adoption of Bun as JavaScript runtime, package manager, bundler, and test runner.

1|Updated Oct 11, 2025
One-click install
npx skills add https://github.com/ibytechaos/claude --skill bun-runtime-ibytechaos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-runtime
Source: https://github.com/ibytechaos/claude/tree/main/plugins/everything-claude-code/skills/bun-runtime
Command: npx skills add https://github.com/ibytechaos/claude --skill bun-runtime-ibytechaos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing between Bun and Node and migrating an existing JavaScript or TypeScript project involves uncertainty about compatibility, lockfiles, scripts, and deployment configuration. This Skill provides concrete guidance on when to use Bun, how to migrate from Node, and how to run, test, and deploy with Bun. ## Core Features & Use Cases - Runtime and Toolchain Guidance: Explains Bun as a Node-compatible runtime, fast package manager, built-in bundler, and Jest-like test runner. - Node Migration Notes: Maps common commands such as npm install to bun install, node script.js to bun run, and npx to bun x, including lockfile handling with bun.lock. - Use Case: When starting a new TypeScript project or deploying to Vercel, use this Skill to configure bun install --frozen-lockfile, bun run build, and the Bun runtime setting for reproducible deployments. ## Quick Start Ask the assistant to help migrate your Node project to Bun, including install commands, test setup, and Vercel deployment configuration.

Frequently Asked Questions about bun-runtime

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

FAQPage Schema
How do I migrate a Node.js project to Bun?

Replace node script.js with bun run script.js or bun script.js, and run bun install instead of npm install. Most npm packages work unchanged, Node built-ins are supported, and bun x replaces npx for one-off commands.

When should I choose Bun vs Node for a project?

Prefer Bun for new JS/TS projects, speed-sensitive scripts, and single-toolchain workflows covering run, install, test, and build. Prefer Node when you need maximum ecosystem compatibility or depend on tooling with known Bun issues.

Does Bun support running TypeScript files directly?

Yes, Bun runs .ts files natively without a separate transpilation step. You can execute TypeScript with bun run src/index.ts or bun src/index.ts directly.

How do I deploy a Bun project on Vercel?

Set the runtime to Bun in your Vercel project settings, use bun run build or bun build ./src/index.ts --outdir=dist for builds, and run bun install --frozen-lockfile for reproducible installs.

What lockfile does Bun use and should I commit it?

Current Bun versions use the text-based bun.lock file, while older versions used the binary bun.lockb. You should commit the lockfile to ensure reproducible installs across environments.