Equivalent bash script
themanifold opened this issue ยท 6 comments
themanifold commented
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
thomasbrueggemann commented
Perfect, thanks! I was instantly looking for a non-Go alternative ๐
aterreno commented
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 commented
right now it's my preferred package manager and i usually use it. ๐
gtramontina commented
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