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

Syntax

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

4:10

  • What is npm and yarn?

8:00

  • What’s the difference between npm and yarn?

12:00

  • What is semver?

16:40

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

20:32

  • Cool new features of npm and yarn
    • npx
    • security warnings
Tweet us your tasty treats!

Audio Player

-
--:--
--:--