Open themanifold opened 6 years ago
Perfect, thanks! I was instantly looking for a non-Go alternative 👍
node-prune is clearly a good idea, but a bash (or perl, or python) script is a much better idea, no need to install go!
@phra that's nice too, if you use yarn
right now it's my preferred package manager and i usually use it. :smile:
Just a quick note: you don't necessarily have to have go installed; you can look for the executable binary version that is compatible with your OS here https://github.com/tj/node-prune/releases
You inspired me to write a quick bash script that I think does a similar thing to your script, only without showing space saved: https://gist.github.com/themanifold/2cd180c2ec4d49dd61f5da8e25481c42