I recently used Bun as an alternative to installing packages in my project folder, and the difference in speed is remarkable. While using Yarn, it took 21.13 seconds to install the packages, but Bun managed to install all the packages in less than one second.
Here's a comparison between using Yarn and Bun:
I highly recommend giving Bun a try and comparing it with the package manager you are currently using.
npm install -g bun
Now, navigate to your project directory, delete your previous node_modules folder, and run:
Additionally, you can use Bun as a bundler and a test runner. I initially tested its package manager capabilities and couldn't wait to share this with you. Later I will try its bunder feature and let you know the comparision
If you are on Twitter, can you follow me there as well? I post these kinds of stuff there as well. => Follow @kushal_js