Hacker News new | ask | show | jobs
by koakuma-chan 286 days ago
You can use Bun as package manager only. You don't have to use Bun as runtime.
2 comments

Indeed! also as a test runner/lib if you're not doing browser automation. bun definitely has benefits even if not used as a runtime.
I believe Playwright worked for me with the latest Bun though
Sure?

Does it work if I have packages that have nodejs c++ addons?

Why wouldn’t it? The end result of a npm install or a bun install is that the node_modules folder is structured in the way it needs to be, and I think it can run node-gyp for the packages that need it.