Stop using npm to install node_modules

<h1>What is pnpm ?</h1> <p><strong>Pnpm</strong>&nbsp;is a package manager for JavaScript and Node.js applications. It stands for &ldquo;Fast, disk space efficient package manager&rdquo; and is designed to address some of the limitations and issues associated with other popular package managers like&nbsp;<strong>npm</strong>&nbsp;and&nbsp;<strong>Yarn</strong>.</p> <h1><strong>Why pnpm ?</strong></h1> <p><strong>pnpm has three big goals:</strong><br /> - saving disk space<br /> - boosting installation speed<br /> - creating a non-flat node_modules directory.</p> <p><img alt="" src="https://miro.medium.com/v2/resize:fit:630/1*CTEhrsFDfVw_xTe1h3CriQ.png" style="height:642px; width:700px" /></p> <p><img alt="" src="https://miro.medium.com/v2/resize:fit:630/1*Y3hyiezcL3Q3ILPagiPB2w.png" style="height:300px; width:700px" /></p> <h1>Here are several reasons why you might consider using pnpm over Yarn and npm:</h1> <ol> <li><strong>Disk Space Efficiency</strong>: pnpm&rsquo;s approach of using a shared store and hard linking significantly reduces disk space requirements compared to Yarn and npm. This can be particularly advantageous when working on multiple projects or maintaining a large codebase, as it saves valuable disk space.</li> <li><strong>Faster Installations and Updates</strong>: pnpm is designed to optimize installation and update processes. By leveraging parallel execution of scripts and efficient dependency resolution, pnpm can provide faster installation and update times compared to Yarn and npm, especially for projects with numerous dependencies.</li> </ol> <p><a href="https://blog.stackademic.com/stop-using-npm-to-install-node-modules-8f1bd7be9918">Visit Now</a>&nbsp;</p>