Skip to content

GilTorch/simple-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Timer

simple-timer is a basic, easy-to-use timer for your projects.

Installation

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>

Example

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

License

MIT

About

A simple timer for javascript that can be used anywhere anytime!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published