affected vs Bun
affected
github.comBun
bun.shSide by side
| Figure | affected | Bun |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Monorepo Management Tools | 8.1 (#10) | 8.3 (#5) |
| Support | The README welcomes contributions and directs users to the repository's GitHub issues. | Bun directs users to its Discord for support and discussion. |
Plans
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.
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.