1.1.0 • Published 3 years ago

provoker v1.1.0

Weekly downloads
27
License
ISC
Repository
-
Last release
3 years ago

Basic Use

const provoker = require('provoker');
provoker.provoke(['Username:-', 'Password:-'], (results) => {
    console.log(results);
    process.exit();
});
The 'process.exit();' line

The process.exit(); line is extremely important since the function keeps running if you dont put it. Nothing runs after the function without causing distubance, so it is recommended to not use any other code post the function

Advanced use

If using for commands and more, It is recommended to create the main code in another file and export it as in the code below:

//File1(Or the function file)
const MainFunction = (results)=>{
    console.log(results)
} 
module.export = MainFunction
const provoker = require('provoker');
const MainFunction = require('./function')
provoker.provoke(['Username:-', 'Password:-'], (results) => {
    MainFunction(results);
    process.exit();
});
1.1.0

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago