[{"data":1,"prerenderedAt":118},["ShallowReactive",2],{"post-\u002Fblog\u002Fnpkill":3},{"id":4,"title":5,"body":6,"date":108,"description":109,"extension":110,"meta":111,"navigation":112,"path":113,"seo":114,"sitemap":115,"stem":116,"__hash__":117},"blog\u002Fblog\u002Fnpkill.md","Stop Drowning in node_modules",{"type":7,"value":8,"toc":103},"minimark",[9,18,25,32,41,44,49,52,74,90,93,96,99],[10,11,12,13,17],"p",{},"JavaScript developers have one common enemy: the black hole known as ",[14,15,16],"code",{},"node_modules",".",[10,19,20,21,24],{},"We all have that ",[14,22,23],{},"workspace"," folder where projects go to die. I checked mine recently. Gigabytes lost to dependencies for projects I haven't touched in months. Dead weight.",[10,26,27,28,31],{},"Deleting them manually is slow. Using ",[14,29,30],{},"rm -rf"," blindly is risky.",[10,33,34],{},[35,36,37,38,17],"strong",{},"The solution is ",[14,39,40],{},"npkill",[10,42,43],{},"It offers a clean terminal UI to wipe out old dependencies with a single keystroke.",[45,46,48],"h3",{"id":47},"how-to-use-it","How to use it",[10,50,51],{},"Go to your main folder and run:",[53,54,59],"pre",{"className":55,"code":56,"language":57,"meta":58,"style":58},"language-bash shiki shiki-themes github-light github-dark","npx npkill\n","bash","",[14,60,61],{"__ignoreMap":58},[62,63,66,70],"span",{"class":64,"line":65},"line",1,[62,67,69],{"class":68},"sScJk","npx",[62,71,73],{"class":72},"sZZnC"," npkill\n",[75,76,77,84],"ol",{},[78,79,80,83],"li",{},[35,81,82],{},"Arrows"," to navigate.",[78,85,86,89],{},[35,87,88],{},"Space"," to delete.",[10,91,92],{},"That's it.",[10,94,95],{},"No installation needed. It scans fast. You destroy fast.",[10,97,98],{},"There is something genuinely therapeutic about freeing up 50GB of space in 10 seconds. Keep what you need, kill what you don’t.",[100,101,102],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":58,"searchDepth":104,"depth":104,"links":105},2,[106],{"id":47,"depth":107,"text":48},3,"2025-11-27","Reclaim your disk space with npkill","md",{},true,"\u002Fblog\u002Fnpkill",{"title":5,"description":109},{"loc":113},"blog\u002Fnpkill","0PxUQgTbfHwpyon_Jy0Kspbd1JeeXWOQIkm1as_8Y_A",1783186628150]