Skip to content

towardstudio/nuke-em

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuke em

Delete all the node_modules in a directory (RECURSIVELY). Cos space is not infinite.

⚠️ CAUTION ⚠️

USE AT YOUR OWN RISK! I HAVE BARELY TESTED IT AND IT DEFINITELY DOESN'T WORK ON WINDOWS

Gif of Aliens 'I say we take off, nuke the site from orbit. Its the only way to be sure'

Usage

cd my-projects
nuke-em -dryrun # Will list all node_modules folders and their sizes (WOW! they are huge!)

# or just

nuke-em # This will delete all of them. It will prompt for confirmation as it is destructive and you won't get them back (unles s you run `npm install` them again)

Thanks

This is just a wrapper around the commands in this post

About

Delete all the node_modules in a directory (RECURSIVELY). Cos space is not infinite.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published