Secret weapon how to promote your YouTube channel
Get Free YouTube Subscribers, Views and Likes

How JavaScript package managers work: npm vs. yarn vs. pnpm vs. npx

Follow
Software Developer Diaries

Which JavaScript package manager to choose? NPM, Yarn, or pnpm? And what is even npx? In this video we're gonna look into history of each manager, how to install JS packages with npm, Yarn and pnpm, what security features each has, and so on.

Support the channel by clicking on the "Thanks" button ❤

======⚡⚡⚡======
Get a 20% discount on Brilliant.org (to learn Science, Technology, Engineering, and Math): https://brilliant.sjv.io/kjVO2z
======⚡⚡⚡======

Become my Patreon and get exclusive perks:   / softdevdiaries  
Follow me on LinkedIn and drop me a message if you'd like:   / gusgadirov  
Also, let's connect on GitHub: https://github.com/gusgad

Resources:
Sebastian's article: https://blog.logrocket.com/javascript...

Timestamps:
(00:00) Node package managers
(00:33) npm
(01:53) Yarn
(02:53) pnpm
(03:41) Yarn Berry (v2)
(04:44) Installation
(05:51) Project structure
(07:02) Lock files and deps
(08:01) Workspaces
(08:49) Security
(09:24) Performance
(09:53) CLI
(10:10) npx
(10:49) Conclusion

And don't forget to subscribe for more videos like this

posted by Anfinnlc