initrc
v1.2.0
Published
initalizer Start Stop manager
Downloads
35
Readme
initrc
What is this.
initrc a simple tool which helps to build a software (backend/ frontend) with designed start and graceful shutdown.
install
npm i initrc
init
const initrc = new (require('initrc')).Base();
add process
initrc.start.add(
function(){
something
},
runlevel,
name
);
boot
frontend
window.onload = initrc.start.run;
backend
initrc.start.run();