<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yaman</title>
    <description>The latest articles on DEV Community by Yaman (@namaewayaman).</description>
    <link>https://dev.to/namaewayaman</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F188832%2F963cd655-e270-4677-b1ec-832fe89052c9.jpg</url>
      <title>DEV Community: Yaman</title>
      <link>https://dev.to/namaewayaman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/namaewayaman"/>
    <language>en</language>
    <item>
      <title>Delete Node Modules like a PRO 😎</title>
      <dc:creator>Yaman</dc:creator>
      <pubDate>Sat, 17 Jul 2021 19:39:15 +0000</pubDate>
      <link>https://dev.to/namaewayaman/delete-node-modules-like-a-pro-1m53</link>
      <guid>https://dev.to/namaewayaman/delete-node-modules-like-a-pro-1m53</guid>
      <description>&lt;p&gt;Node modules are famous for being the heaviest object in the universe 😂 and deleting them is no joke. It takes a long of time and we even end up with freezed and unresponsive screens, but not anymore. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxqpdulrw4vi4ixw5ka0q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxqpdulrw4vi4ixw5ka0q.png" alt="node-modules joke"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is an npm package that could help us to delete node modules faster and without any hassle.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/npkill" rel="noopener noreferrer"&gt;npkill&lt;/a&gt; comes to the rescue!&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo10ebu73j9myoshw2mah.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo10ebu73j9myoshw2mah.PNG" alt="npkill logo"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You don't need to install npkill , just run npx npkill in your terminal&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkm2rl5f0u105qjx9g6kf.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkm2rl5f0u105qjx9g6kf.PNG" alt="npx npkill"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It will then scan for node_modules starting at the path where npkill command is executed and list them.&lt;/p&gt;

&lt;p&gt;Move between the listed node modules folders with arrow keys, and press Space to delete it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzxgsuwz2u60gd00osjph.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzxgsuwz2u60gd00osjph.PNG" alt="Select nodemodules and delete"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Simple, isn't it?&lt;/p&gt;

&lt;p&gt;Hope you liked the post and learned a trick along the way! 😃&lt;/p&gt;

&lt;p&gt;✋ Hey! Before you go 🏃‍&lt;br&gt;
If you enjoyed this trick, You can also follow me on&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/yamansharma27/" rel="noopener noreferrer"&gt;LinkedIN&lt;/a&gt; | &lt;a href="https://dev.to/yaman27"&gt;Dev.to&lt;/a&gt; | &lt;a href="https://github.com/YyamanSharma" rel="noopener noreferrer"&gt;Github&lt;/a&gt; | &lt;a href="https://twitter.com/YyamanSharma" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Stay tuned for more such tricks ✨ &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>tutorial</category>
      <category>node</category>
      <category>npm</category>
    </item>
  </channel>
</rss>
