Giter VIP home page Giter VIP logo

thanosjs's Introduction

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 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-glove

After 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

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".

thanosjs's People

Contributors

alefesouza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

thanosjs's Issues

Not compliant with spec

The selection s biassed, there should be no exemption amongst the files, which is in direct violation of the spec, and should thus be fixed, are pull requests accepted? ๐Ÿค”

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.