Skip to content

Conversation

@bhousel
Copy link
Collaborator

@bhousel bhousel commented Oct 22, 2025

Bun is a fast all-in-one JavaScript and TypeScript runtime and toolkit. docs

With the newly released Bun v1.3, I thought it would be good to try it out, and I like it. Here's why:

Not only is it significantly faster than other tools, it simplifies things a lot. It basically replaces:

  • the runtime (node), it is mostly a drop-in replacement
  • package manager (npm/yarn), and tools to check for updates like npm check or taze
    • and it has an option to avoid installing anything too new - mitigating JavaScript supply-chain attacks.
  • bundler (esbuild/rollup/vite/parcel)
  • test runner (jest/node:test/vitest)
  • supports TypeScript natively, so we don't need tools like ts-node or a slow tsc transpilation step.
  • supports monorepos
  • builtin http server (not used in this project, but I use this elsewhere)
  • also has an enormous amount of other builtins, so a good opportunity to drop dependencies like
    • c8 for code coverage
    • shx for cross-platform shell commands
    • npm-run-all (this one is not really maintained anymore, I switched to npm-run-all2)

Bun is a new JavaScript/TypeScript runtime with everything built in.
It seems like it could be a lot easier than using a bunch of tools.
It also is a bit faster and has some improvements to security.
This replaces node, c8, esbuild, taze, maybe some other things.
@bhousel bhousel merged commit 32c4b82 into main Oct 22, 2025
1 check passed
@bhousel bhousel deleted the bun branch October 22, 2025 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants