A Tasty Treats Podcast for Web Developers.

Ask a Potluck Question โ†’
Wes Bos

Wes Bos

Full Stack JavaScript Developer. Creator of really good web development courses. BBQ enthusiast.

Scott Tolinski

Scott Tolinski

Web Developer, Creator of Level Up Tuts, Bboy, Robotops Crew and Youtuber

Playing: 061: Hasty Treat - Whats the deal with npm, yarn and lock files?!



Jul 30th, 2018

Hasty Treat - Whats the deal with npm, yarn and lock files?!

๐Ÿ‘‡ Download Showโœ๏ธ Edit Show Notes

In this Hasty Treat, Scott and Wes discuss npm, yarn, lock files, why they're useful, why you would or wouldn't want to track them in Git and much more!

Netlify โ€” Sponsor

Netlify is the best way to deploy and host a front-end website. All the features developers need right out of the box: Global CDN, Continuous Deployment, one click HTTPS and more. Hit up netlify.com/syntax for more info.

Show Notes


  • What is npm and yarn?


  • What's the difference between npm and yarn?


  • What is semver?


  • What is the dependency tree?
  • This is the problem that lock files solve


  • Cool new features of npm and yarn
    • npx
    • security warnings

Tweet us your tasty treats!