Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
koakuma-chan
· 1y ago · 0 comments
You can use Bun as package manager only. You don't have to use Bun as runtime.
Comments
[–]
iansinnott
1y 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.
[–]
koakuma-chan
OP
1y ago
I believe Playwright worked for me with the latest Bun though
[–]
winterrdog
1y ago
Sure?
Does it work if I have packages that have nodejs c++ addons?
[–]
abejfehr
1y 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.