Socket
Socket
Sign inDemoInstall

infinity-snap

Package Overview
Dependencies
18
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    infinity-snap

Delete half of your project files. Perfectly balanced, as all things should be.


Version published
Maintainers
1
Created

Readme

Source

Infinity Snap

Delete half of your project files. Perfectly balanced, as all things should be.

npm npm Maintenance

Installation

NPM

npm i -g infinity-snap

Usage

Just run infinity-snap in your current directory, or specify a path:

infinity-snap /

Options:

optionaliasdescription
--exclude regex-ePrevent files that match the regex from being deleted.
--path string-pThe path of the directory to run the snap. Everything inside will be selected at random to be deleted.
--preserve-git-gDoes not delete any files inside '.git' folders. Use this if you don't wish to screw your git repo so you can push the balanced code.
--verbose-vEnable logging the deleted files.
--help-hPrints the usage guide.
--versionPrints the current software version.

FAQ

Why would I need to use this?

You believe not all code is created equal, but no code is better than the other. The codebase is too big, and it's hard to maintain your project. You need a solution, a quick and effective one. But most of all, you need an impartial solution, one that won't benefit your code over your colleague's. You need a "snap".

Seriously, why did you create this?

Balance must be achieved by all means necessary. Imagine a world where half of the JavaScript frameworks don't exist? Wouldn't that be beautiful? Maybe that's what I should work next.

Can I prank people with this?

Sorry, but this isn't a prank tool. Yes, you can use this on your friend's computer, but it won't be much of a prank. Instead you'll be cleansing your friend's computer, enabling new files to be born and take over those who are gone. You're doing your friend a favor.

I deleted some really important files accidentally, how do I get them back?

You can download infinity-avengers to retrieve your deleted files back. You only have one chance in 14,000,605 though.

I don't want to use npm. How can I cleanse my computer?

You can use snap.sh to run the exact same thing in bash. It's not as pretty, though.

snap.sh has been taken from hotvulcan's repo

Does it work on Windows?

This should work on unix systems. Maybe it works on Windows? I don't know. Try it on System32 and let me know.

License

MIT

Keywords

FAQs

Last updated on 08 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc