1.0.1 • Published 4 years ago

is-code-running v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

is-code-running

Required to check if your code is running/working. Useful to also crash your process.

Installing/Requiring

npm install iscoderunning

Then, inside of your code requiring it is as simple as any other package.

const coderun = require("iscoderunning");

or

import const coderun = require("iscoderunning");
 from "iscoderunning";

Usage/Examples

Is the code is running?

const coderun = require("iscoderunning");
coderun.codeRunning

Stop your code easily:

const coderun = require("iscoderunning");
// whatever
coderun.stopCode()
// => "I have stopped your code!"

Let your code run:

const coderun = require("iscoderunning");
coderun.startCode()
// => "I have allowed your code to continue!"
// whatever

Start the code and then end it:

const coderun = require("iscoderunning");
coderun.startCode()
// => "I have allowed your code to continue!"
// whatever
coderun.stopCode()
// => "I have stopped your code!"
// => Ends the process

Log your stuff in console:

const coderun = require("iscoderunning");
let log = "this is a log!"
coderun.log(log)
// => "this is a log!"

Contact

Please contact me on discord if there are any urgent bugs.

Follow me on GitHub Star on GitHub Fork on GitHub Watch on GitHub

Follow on Twitter Join the Discord NPM Package Youtube