logoalt Hacker News

bhoustontoday at 2:31 PM3 repliesview on HN

> But I have zero clue what those other tools are.

The incorporated tools are actually really amazing:

- vitest, an ultra fast test runner. After using a lot of others, including jest and node's built in one, I love vitest.

- oxlint, replaces eslint but is compatible with its file format and ultra fast, since it isn't written JavaScript. I tried biome, but I found oxlint to have more rules and the eslint compatibility was nice.

- oxfmt, replaces prettier and is faster since it isn't written in JavaScript.

- rolldown, replaces rollup and is compatible with it but it is much faster since it isn't written in JavaScript.

The above are my go-tos in new projects anyhow since they are killer good and fast.


Replies

mort96today at 3:48 PM

I don't get how a test runner can be "ultra fast". Surely all the time is taken by the tests, not calling the test functions?

show 5 replies
herpdyderptoday at 2:49 PM

I wish Oxfmt supported plugins. Prettier's plugin API is one of the worst APIs I've ever worked with. I'm eager to switch to a different formatter with a better plugin API (and I need plugins).

show 2 replies
pier25today at 3:33 PM

Rolldown is used in Vite (non plus) though.