To get started, check-it out: http://hilios.github.io/jQuery.countdown/
The ultimate countdown plugin designed to fit in any coupon, auction site or product launch. Read our Documentation and follow our Examples to see what suits your particular needs.
Click here to download the latest version
If you want to clone the repo always use the files under dist folder, they are optimized for production and development.
bower install jquery.countdown
Add a script
to your html:
<script src="/bower_components/jquery.countdown/dist/jquery.countdown.js">script>
npm install --save jquery-countdown
Require the script:
require('jquery-countdown');
<div id="getting-started">div> <script type="text/javascript"> $('#getting-started').countdown('2015/01/01', function(event) { $(this).html(event.strftime('%w weeks %d days %H:%M:%S')); }); script>