This is a somewhat unrelated question.
I'm a systems programmer (I spend most of my days in the land of C and Go). I do understand the basic concepts of web apps and how you develop one. I have even built a few websites using Rails.
Can somebody please explain to me:
1) How does npm fit in in the process of developing a web app. How does it manage the js files / libraries and where does it place them?
2) How is yarn going to make your life easier
Please go easy on me.