tj / node-prune

Remove unnecessary files from node_modules (.md, .ts, ...)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simplify obtaining the binary

jlobos opened this issue · comments

Simple command for get the binary:

curl -L https://github.com/tj/node-prune/releases/download/v1.0.1/node-prune_1.0.1_`uname -s`_`uname -m` -o /usr/local/bin/
chmod +x /usr/local/bin/node-prune
  • Avoid decompressing the binary
  • uname -s and uname -m in the release URL

🙏

yea hopefully soon this will be more easy in general. The whole Go community should be using one tool IMO, it has this great strength of cross-compiling but it's under-utilized ATM. Hopefully soonnnn