npm v5.0.0

This release marks months of hard work for the young, scrappy, and hungry CLI team, and includes some changes we’ve been hoping to do for literally years. npm@5 takes npm a pretty big step forward, significantly improving its performance in almost all common situations, fixing a bunch of old errors due to the architecture, and just generally making it more robust and fault-tolerant.

Great to see that npm will now – finally! – auto --save by default and generate a package-lock.json file after installing a dependency. They’re two features I felt that were absolutely missing in npm, as the lack of the introduced quite a lot of issues (e.g. colleagues forgetting to save a dependency breaking my code after a pull, deploys going wrong because the server would receive new versions of dependencies, etc.)

And oh, it’s also way faster:

I’d like to think that the “competition” introduced by yarn – which got me very excited – accelerated the release of npm@5 🙂

The npm blog – v5.0.0 →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.