NPM version 7 released two new features that really made a difference for me: workspaces and better peer dependency management.

It’s been a while since we’ve gotten a substantial update to our trusted NPM. But now, with Node’s latest release (version 15), we also got version 7 of NPM, which comes with a major overhaul of its internal architecture, as well as some very interesting new features.

In this article, I’m going to cover the two that caught my attention and sparked my imagination. With one of them, we’re going to change the way we handle dependencies for all projects and with the other one, we’re going to optimize a process that right now has to be done manually.

I’m of course talking about workspaces and the ability to auto-install peer dependencies. Are you excited yet? I know I am!

#javascript #npm #node #web-development #developer

NPM 7: This Is What I Call An Update
2.20 GEEK