Y
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
iansinnott
285 days ago
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.
link
koakuma-chan
285 days ago
I believe Playwright worked for me with the latest Bun though
link
winterrdog
286 days ago
Sure?
Does it work if I have packages that have nodejs c++ addons?
link
abejfehr
286 days ago
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.
link