levelrunnerrc
v1.0.0
Published
multi level task runner
Downloads
52
Readme
levelrunnerrc
install
npm i levelrunnerrc
init
const levelrunner = new (require('levelrunner')).Base(
()=>{
// do something before;
},
()=>{
// do something after;
},
100 // numberOfLevels
);
add task
levelrunner.add(
function(){
//do something
},
runlevel,
name
);
run
frontend
window.onload = levelrunner.run;
backend
levelrunner.run();