npkill icon indicating copy to clipboard operation
npkill copied to clipboard

archive node_modules folder to zip or tar.gz

Open willi84 opened this issue 5 years ago • 3 comments

Is your feature request related to a problem? Please describe. When I clean up node_modules I often want to save the installation for the future or when I am back in the node version, but that are a lot of steps to do.

Describe the solution you'd like Moving the node_modules folder to an archive file, which is small and can be later unpacked.

Describe alternatives you've considered no idea

Additional context no

willi84 avatar Oct 22 '19 14:10 willi84

Hello! Thanks for opening this issue :heart:

I liked the idea because node_modules usually have a pretty good compression ratio (339mb -> 30mb zipped, for example). I also see it feasible as an alternative for anyone who for some reason (perhaps, for a very limited bandwidth) cannot afford to delete them.

It would be interesting to see it in the future v1.0.0 but for my part, I don't think I can work on it for lack of time these weeks.

@NyaGarcia what do you think? :smiley:

zaldih avatar Oct 23 '19 14:10 zaldih

This feature could be interesting to do using the hacktoberFest for anybody!

Good luck!


Dr. Carlos Caballero González PTFP Sistemas y Aplicaciones Informáticas - Junta de Andalucía Blog: https://www.carloscaballero.io LinkedIn: http://lnkd.in/xVG3qV Twitter: http://www.twitter.com/carlillo GitHub: http://www.github.com/caballerog

On Wed, Oct 23, 2019 at 4:03 PM Juan Torres [email protected] wrote:

Hello! Thanks for opening this issue ❤️

I liked the idea because node_modules usually have a pretty good compression ratio (339mb -> 30mb zipped, for example). I also see it feasible as an alternative for anyone who for some reason (perhaps, for a very limited bandwidth) cannot afford to delete them.

It would be interesting to see it in the future v1.0.0 but for my part, I don't think I can work on it for lack of time these weeks.

@NyaGarcia https://github.com/NyaGarcia what do you think? 😃

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/voidcosmos/npkill/issues/46?email_source=notifications&email_token=ACDGHX6F4HT6ZN4RRJYJAK3QQBKSHA5CNFSM4JDQW7O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECBQ2SI#issuecomment-545459529, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDGHX5RHEKI263EGCFDELDQQBKSHANCNFSM4JDQW7OQ .

Caballerog avatar Oct 23 '19 14:10 Caballerog

Next week I will try to create a first version of this feature. When I have it, I expect feedback from the PR.

Caballerog avatar Oct 24 '19 11:10 Caballerog