Skip to content
SPECIFICTION
Get listed

affected vs Bun

affected

github.com

Bun

bun.sh

Side by side

FigureaffectedBun
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
Plans published11
Spec score · Monorepo Management Tools8.1 (#10)8.3 (#5)
SupportThe README welcomes contributions and directs users to the repository's GitHub issues.Bun directs users to its Discord for support and discussion.

Plans

affected

  • affectedFree

affected pricing →

Bun

  • BunFree

Bun pricing →

In their own words

affected

affected is a free, MIT-licensed command-line tool for identifying monorepo packages touched by Git changes and running tests or other commands on those packages. It traces transitive dependencies and can explain the chain from a change to an affected package. The README says it detects project type and dependency graph automatically to get started without configuration. Supported ecosystems include Cargo, npm, pnpm, Yarn, Bun, Go, Python, Maven, Gradle, .NET, Swift, Dart/Flutter, Elixir, and Scala/sbt. CLI commands cover listing packages, testing, running commands, viewing graphs, CI, initialization, and watch mode. Execution options include parallel jobs, dry-run previews, timeouts, package filters, and skip patterns. Outputs include JSON, JUnit XML, CI formats, shell completions, dependency trees, and DOT graphs. GitHub Actions support includes a setup action and dynamic job matrices; a companion action can post and update pull request comments with affected packages and reasons. Installation options include Homebrew, Python and language package managers, GitHub Actions, and release binaries. It runs on Linux, macOS, and Windows.

Visit github.com

Bun

Bun combines a JavaScript runtime, package manager, test runner, and bundler in one binary. It runs JavaScript and TypeScript on JavaScriptCore, with support for Node.js APIs and node_modules. Its npm-compatible package manager supports workspaces, catalogs, overrides, patches, readable lockfiles, private registry authentication, dependency resolution, and offline installation. The test runner includes Jest-compatible expectations, mocks, snapshots, DOM testing, and coverage. For builds, Bun handles TypeScript, JSX, CSS, and HTML for browsers and servers, and includes a development server with hot module reloading and single-file executables. Built-in APIs cover PostgreSQL, MySQL, SQLite, Redis, S3-compatible storage, HTTP, and WebSockets. The project names Next.js, Remix, Nuxt, Astro, SvelteKit, Hono, and Elysia among frameworks that run on Bun. It is MIT-licensed and developed publicly on GitHub. Bun runs on Linux, macOS, and Windows, subject to minimum OS versions and x64 processors with SSE4.2. Install options include an official script, npm, Homebrew, Windows package managers, and Docker. Support and discussion are available through Discord.

Visit bun.sh