NPM CLI 7, an upgrade of the command line toolkit for the JavaScript package manager, is now generally available. The new version brings a Workspaces feature as well as changes to the lockfile format and enhanced performance.
NPM CLI 7 had been available on an opt-in basis since October, but has now been promoted to the status of “latest” version. Installation instructions can be found on GitHub.
[ Also on InfoWorld: What is Deno? A ‘better’ Node.js ]
The highlight of NPM CLI 7 is a Workspaces capability to manage multiple packages from within a single, top-level root package. This long-requested feature was motivated by a desire to support the management of multiple packages that may or may not be used together.
To read this article in full, please click here