1.1.9 • Published 2 years ago

@singularitycreations/process-manager v1.1.9

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

Process Manager

NodeJS process monitoring module for Windows enviroment to keep process running. If process does not respond certain time period then it will be killed and started again.

Usage

Install it via npm

$ npm i @singularitycreations/process-manager
const { ProcessManager } = require('@singularitycreations/process-manager');

(async () => {
    try {        
        const pm = new ProcessManager({
            binaryPath: 'C:\\path\\to\\app.exe',
            prName: 'app.exe',
        });
        
        await pm.keepRunning();
        // your code
    } catch (error) {
        console.log(error.toString());
    }    
})();
1.1.9

2 years ago

1.1.8

3 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago