Package-lock.json and Yarn.lock Are Your Best Friends

Why you want to keep them around, and when you may want to ditch them

Robert Dempsey
Level Up Coding
Published in
7 min readMar 20, 2020

--

Image by Gerd Altmann from Pixabay

Ever heard or said any of the following?

  • What is package-lock.json (or yarn.lock)?
  • Why do we need it?
  • I’ve got conflicts in my package-lock.json file

--

--