affaan-m avatar

Bun Runtime

A comprehensive reference for Bun as a runtime, package manager, bundler, and test runner. It covers the key decision of when to use Bun over Node (speed matters, new projects, Vercel deployments) and when to stick with Node (maximum compatibility, legacy tooling). You get practical migration notes like swapping `node` for `bun run` and `npm install` for `bun install`, plus Vercel-specific config. The examples show file handling, the built-in server API, and Jest-like testing. Most useful when you're actively adopting Bun or debugging why a Node project won't run under it. The lockfile note is important: current Bun uses text `bun.lock`, older versions used binary `bun.lockb`.

skills.sh installs
5.8K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill bun-runtime --agent claude-code

Installs into .claude/skills of the current project.

Files

Bun Runtime

Bun is a fast all-in-one JavaScript runtime and toolkit: runtime, package manager, bundler, and test runner.

When to Use

  • Prefer Bun for: new JS/TS projects, scripts where install/run speed matters, Vercel deployments with Bun runtime, and when you want a single toolchain (run + install + test + build).
  • Prefer Node for: maximum ecosystem compatibility, legacy tooling that assumes Node, or when a dependency has known Bun issues.

Use when: adopting Bun, migrating from Node, writing or debugging Bun scripts/tests, or configuring Bun on Vercel or other platforms.

How It Works

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Testing & QA, Cloud & Infrastructure
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1affaan-m avatarlaravel-verificationaffaan-m/eccVerification loop for Laravel projects: env checks, linting, static analysis, tests with coverage, security scans, and deployment readiness.5.7Kskills.sh installs
2affaan-m avatarspringboot-verificationaffaan-m/eccVerification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.5.6Kskills.sh installs
3trailofbits avataratheristrailofbits/skillsAtheris is a coverage-guided Python fuzzer based on libFuzzer. Use for fuzzing pure Python code and Python C extensions.5.5Kskills.sh installs
4julianoczkowski avatargrill-mejulianoczkowski/designer-skillsInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to s5.5Kskills.sh installs
5samber avatarcopywriting-ctasamber/cc-skillsDesign end-of-article CTAs (calls-to-action placed at the bottom of blog posts, newsletters, essays, articles, or any long-form content). Use this skill wheneve5.5Kskills.sh installs
6affaan-m avatarkotlin-ktor-patternsaffaan-m/eccKtor server patterns including routing DSL, plugins, authentication, Koin DI, kotlinx.serialization, WebSockets, and testApplication testing.5.5Kskills.sh installs