Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alefesouza/thanosjs
Node.js implementation of Thanos JS website.
https://github.com/alefesouza/thanosjs
avengers cli-utilities marvel nodejs thanos thanosjs utility
Last synced: 3 months ago
JSON representation
Node.js implementation of Thanos JS website.
- Host: GitHub
- URL: https://github.com/alefesouza/thanosjs
- Owner: alefesouza
- Created: 2019-03-10T01:49:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-03-12T04:03:18.000Z (over 5 years ago)
- Last Synced: 2024-07-29T02:31:59.490Z (3 months ago)
- Topics: avengers, cli-utilities, marvel, nodejs, thanos, thanosjs, utility
- Language: JavaScript
- Homepage: https://npmjs.com/package/thanos-glove
- Size: 38.1 KB
- Stars: 37
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Thanos JS
> Thanos JS reduces the file size of your project down to 50%, by randomly deleting half of the files.
This project is a Node.js implementation of [Thanos JS](https://thanosjs.org/) website, I've created it after realize that the idea is just a parody with Ruby Gems packages and not a real project, and maybe the project can be useful for someone.
To use it just install it globally with the Infinity Gems NPM packages.
$ npm install -g reality
$ npm install -g mind
$ npm install -g space
$ npm install -g time
$ npm install -g soul
$ npm install -g thanos-gloveAfter it, you can run:
thanos snap-fingers --with-glove
To randomly delete 50% of the files on the current directory and its subdirectories.
$ thanos --help
Thanos JS reduces the file size of your project down to 50%, by randomly deleting half of the files.
Usage
After install it globally and the reality, mind, space, time and soul packages from npm, just run:$ thanos snap-fingers
Options
--with-glove You need the glove to delete the files.
--path, -p The path to randomly delete including its subdirectories, otherwise will run on current directory.
--force, -f Skip the process and remove the files without installing the Infinity Gems packages.
--no-ask, -y Run it without confirmation (use it with caution, I'm not responsible for anything).Examples
$ thanos snap-fingers --with-glove
$ thanos snap-fingers --with-glove -f --path "/path/to/delete"## Credits
- [Thanos JS website](https://thanosjs.org/) - for the idea but with a Ruby implementation.
- [Alefe Souza](https://alefesouza.com) - creator of this package.## FAQ
### Why no need to install the power package?
I got an error when I installed the power package globally, since it's not possible to install it globally with this error, I preferred to remove it from this package.
### Why the package name is not thanos or thanosjs?
When I developed this package I didn't notice that there was another package named "thanos-js", so npm didn't allow me to upload as "thanosjs".