4 ms·
You can use Bun as package manager only. You don't have to use Bun as runtime.
by koakuma-chan 1y ago
You can use Bun as package manager only. You don't have to use Bun as runtime.
- winterrdog 1y agoSure? Does it work if I have packages that have nodejs c++ addons?
- abejfehr 1y agoWhy 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.
- iansinnott 1y agoIndeed! 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 1y agoI believe Playwright worked for me with the latest Bun though