1.2.0 • Published 2 years ago

initrc v1.2.0

Weekly downloads
4
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

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();
1.2.0

2 years ago

1.1.0

2 years ago

1.0.4

3 years ago

1.0.2-rc2

3 years ago

1.0.2-rc1

3 years ago

1.0.2

3 years ago

1.0.1-r2

4 years ago

1.0.1

4 years ago

0.0.1-alpha0

5 years ago