Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Main difference between all of them is speed. There’s some differences in how npm, yarn, pnpm or bun handle workspaces and hoisting (and stuff like dependency overrides) but if one of them works for you, you rarely have to switch between them.

Edit: also npx is just an alias for npm exec, allowing you to run scripts in npm packages



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: