Fprocjs
A JS framework for the fastest process manager written in C++ and Rust, Fproc.
How to install fprocjs
npm install fprocjs
Quick setup
const FPROC = require("fprocjs");
const fproc = new FPROC(async () => {
console.log(await fproc.run("node run.js", 0));
console.log(await fproc.list());
console.log(await fproc.stop(0));
console.log(await fproc.restart(0));
console.log(await fproc.delete(0));
fproc.finish();
});
Look at src/fproc.js for all functions and full documentation
How to install fproc
Go to https://github.com/BlueCannonBall/fproc/blob/main/README.md for instructions