Skip to content

Conversation

@bhousel
Copy link
Owner

@bhousel bhousel commented Oct 16, 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 (not used here but I do need 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)

This commit also upgrades our eslint config to work with v9.

Bun is a new JavaScript 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.

This commit also upgrades our eslint config to work with v9.
@bhousel bhousel merged commit 4e7c80b into main Oct 16, 2025
1 check passed
@bhousel bhousel deleted the bun branch October 16, 2025 15:14
@Jarred-Sumner
Copy link

nice

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.

3 participants