0.0.7 • Published 2 years ago

advenced-runner v0.0.7

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

Advenced runner

A process manager for node js with advenced cli

CLI_SCREEN

Install

$ npm install -g advenced-runner

How to use

ForUse
Start a programar start {script}

Exemple

This will make a log every second, an error and a warn after 2 seconds as well as a log at each input

console.log("hello world");

let i = 0

setInterval(() => {
    //log every seconds "hello world" and this id 
    i++
    console.log("hello world " + i);
}, 1000);

setTimeout(() => {
    //log a error with code 5 and a warn with code 5
    console.error("error", 5)
    console.warn("warn", 5)
}, 2000);

process.stdin.on("data", (data) => {
    //log the written data
    console.log("new input! (" + data + ")");
})
0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago