simple-timer is a basic, easy-to-use timer for your projects.
Install your timer via npm
npm install -g @gilbert2017/simple-timer
or you can also call the timer in a script tag:
<script src="https://cdn.rawgit.com/GilTorch/simple-timer/master/simple-timer-client/js/index_production.js"></script>
After installation, you can then call your timer like so:
var timer=new Timer();
timer.setMiliseconds(5000);
timer.start();
var ouput=document.getElementById("timer-output");//output can be a paragraph htmlelement
timer.setVue(ouput);