Skip to content
 
 

Repository files navigation

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')).init();

add process

initrc.start.add(
    function(){
        something
    },
    runlevel,
    name
);

boot

frontend

window.onload = initrc.start.run;

backend

initrc.start.run();

About

Designed start and graceful shutdown helper.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages